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
https://forums.phpfreaks.com/topic/50408-solved-mathematical-script-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.