Results 1 to 3 of 3

Thread: Is there a function in java that is like VB's format?

  1. #1
    dmartin17
    Guest

    Is there a function in java that is like VB's format?

    I need to output integer values in a 4 digit number(ie 4 = 0004) I know i can do this using VB's format command but is there somehting like this in java?

    Thanks

  2. #2
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Offhand i couldn't tell you the specific method but im sure that it is contained within either the java.text.NumberFormat or java.text.DecimalFormat classes.

  3. #3
    dmartin17
    Guest
    thats good but if you can find the specifics it would be appreciated

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width