Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

numeric format - help!  RSS feed

 
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!