aspose file tools
The moose likes JSF and the fly likes float conversion error with f:convertNumber Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "float conversion error with f:convertNumber" Watch "float conversion error with f:convertNumber" New topic
Author

float conversion error with f:convertNumber

Jamie Williams
Ranch Hand

Joined: Mar 31, 2006
Posts: 70
I have to get a price represented with 5 fraction digits and one integer digit, even if the price I want to show is just 1, it has to show as 1.00000
I tried to use a convertNumber but now I get conversion errors. Before I put the convert number tag in the input worked fine. The value is bound to a float.

Here's the code I use with the new code in bold:


Can anyone tell me what I'm doing wrong? Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: float conversion error with f:convertNumber
 
Similar Threads
JSF Currency Conversion
Error With Simple Converter
Default an input:text value to populate input
confused in converter
Number formatting in text input