A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Format a int in a decimal
Joined: Jan 12, 2005
Jun 05, 2008 05:03:00
i have a integer for example 12345.
i have to render this value as 123,45
I have to use the
<bean:write name="ratingBean" property="importoCapitaleF" format="#,###.##"/>
but i cannot do it..
Someone can help me?
bye, <br />Marco
Author and ninkuma
Joined: Jan 10, 2002
Jun 05, 2008 08:47:00
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
Asking smart questions
Books by Bear
Joined: Feb 15, 2005
Jun 05, 2008 10:20:00
What do you mean by "I cannot do it"? What happens when you try the above code?
I agree. Here's the link:
subject: Format a int in a decimal
question on part 2 submission format
painful java.util.Date bug
Text file xls to Binary format xls in Java.
converting String from UTF 8 to ascii format
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013