Renato Oliveira
unread,Aug 1, 2011, 6:36:55 PM8/1/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to play-fr...@googlegroups.com
Hi.
It's my first message here. I've tried to find this over the web but I didn't found anything.
I need to format a double value with my locale. It works fine for showing the value on a view for example.
Here in Brazil the a number or currency has this format 9.999,99.
If I set a lang "pt" on my application.conf, the format of a number on a view is fine (9.999,99).
I need something similar to my forms and validation.
If I format the value that I show on the form(so the user can enter the information with the right format), after submit, the validation crashes (invalid number, or something like it).
I there is any binder @As for a decimal value?
Or should I implement one?
Thank you.
Renato