Results 1 to 2 of 2

Thread: code to use with java scanner

  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default code to use with java scanner

    i want to display a 0 before my output if my output is less than 2 digits. its for a time.

    any one know how i'd do this?

    thanks
    Last edited by žon21; 11-05-2008 at 02:05 PM.

  2. #2
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    can't you just change the integer setting so it will show as 00:00 format?

Bookmarks

Posting Permissions

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