Jump to content

[SOLVED] Mathematical Script Question...


socalnate

Recommended Posts

Here's what I need my script to do; quite simple but I can't figure it out.

???

If $number is 0-999 number is "0"

If $number is 1000-1999 number is "1000"

If $number is 2000-2999 number is "2000"

If $number is 3000-3999 number is "3000"

etc...(going on up to 10,000)

If $number is 10000-10999 number is "10,000"

If $number is 11,000-11,999 number is "11,000"

etc...(going on up to 100,000)

If $number is 100,000-100,999 number is "100,000"

If $number is 101,000-101,999 number is "101,000"

If $number is 123,000-123,999 number is "123,000"

etc...(going on up & beyond 300,000)

If $number is 357,000-357,999 number is "357,000"

 

Help appreciated! ;D

Nathan

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.