File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes numeric format - help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "numeric format - help!" Watch "numeric format - help!" New topic

numeric format - help!

sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
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

Joined: Jan 30, 2000
Posts: 18671
Look at the DecimalFormat class.

"I'm not back." - Bill Harding, Twister
I agree. Here's the link:
subject: numeric format - help!
It's not a secret anymore!