Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

float conversion error with f:convertNumber

Jamie Williams
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
Let's go to the waterfront with this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!