| Author |
formatting and converters
|
Jamie Williams
Ranch Hand
Joined: Mar 31, 2006
Posts: 70
|
|
|
I need to display some float information in input boxes with the format 0.00000 - even if the actual value is 0.1 it has to show 0.10000 but this obviously isn't the default behaviour. A converter will only work on the form submission, right? Is there something I can use to format the float value when I fetch it? I would prefer not to have a formatting-related method in my data object (which is what I am forced to have now).
|
 |
Daniel Rhoades
Ranch Hand
Joined: Jun 30, 2004
Posts: 186
|
|
|
f:convertNumber should do the job for you.
|
Drinking more tea is the key...
|
 |
 |
|
|
subject: formatting and converters
|
|
|