The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

NumberFormat: no zero in integer part

Posted by Tuan on July 19, 2001 at 7:02 PM

Hi everybody,

I tried to format & print out numbers like this:
12,345.900
45.990

The fraction of 3 digits can be done, but I don't know how to get the integer part fits in a 10 digit space! If I used SetMin/MaxIntegerDigits then I always have 000... before the numbers. It's not what I want.

Thanks for your help,
Tuan.



Replies:
  • use this babu reddy July 20, 2001 at 4:11 AM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us