The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2000

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:

Number formatting

Posted by Jim on August 10, 2000 at 9:01 AM

I am trying to format numbers as follows :

1 becomes 0001 i.e

1 -> 0001
2 -> 0002
.
.
36-> 0036
..
100->0100

I could parse it myself but I'm sure that there is a Java
class that can be utilised !!
Any help would be appreciated




Replies:

Sponsored Links



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