Posts by Michel Fernandes • 271 points
3 posts
-
9
votes6
answers16210
viewsA: How do I return a value in the Brazilian currency format in the Django view?
My strategy is simpler and more direct: I use standard formatting ( same as dollar ) and just invert '.' and ',': def real_br_money_mask(my_value): a = '{:,.2f}'.format(float(my_value)) b =…
-
0
votes0
answers122
viewsQ: Onboard HSQLDB
Hello. I’m developing a Java application with HSQLDB. When I access the database with absolute path, everything works ok: String txtCon =…
-
8
votes2
answers878
viewsQ: When to use list comprehension and not filter+lambda?
Good night, you guys. Studying here, I found the functions of List Comprehension and filter+lambda, but both seemed very similar to me on some points... When should I wear List Comprehension instead…