|
-
Nov 5th, 2006, 09:05 AM
#1
Thread Starter
Frenzied Member
Format Numbers in Javascript
hi all ,
I need a little help on a script...
I have a number from 0 to 300.
What I want to do is format them to like 030, 004, or 250.
I've tried to use string.length and stuff to put those extra zero's in front, but I can't get it to work...
Anyone?
thnx in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|