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

numeric format - help!

 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Is there any Java class or toolkit to do
the numeric format. For example, no matter
how the input looks like, I need the output
to be XX.X
Thanks in advance!
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the DecimalFormat class.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!