Results 1 to 2 of 2

Thread: format a number

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2004
    Posts
    294

    format a number

    how do you format a number like this: 1 will turn into 0001, 10 will turn into 0010,etc..? is there a function that willl do this?

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: format a number

    Yep, and it's called format
    VB Code:
    1. MsgBox Format(1, "0000")

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