• Post Reply Bookmark Topic Watch Topic
  • New Topic

formatting and converters

 
Jamie Williams
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
f:convertNumber should do the job for you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!