Thanks, but it doesn't do what I am intending.
Yours is rounding to the nearest 100 even if it's lower than the original number.
I need to round to the next HIGHER 10,100,1000,10000,100000,1000000, etc... SO that when the number is divided by 10 I get even numbers with zeros on the end.
Example; 998,234 would be rounded to 1,000,000 and that divided by 10 would give me 100,000-200,000-300,000-400,000, etc...
Example; 3,234 would be rounded to 10,000 and that divided by 10 would give me 1,000-2,000-3,000-4,000, etc...
Example; 55,678 would be rounded to 100,000 and that divided by 10 would give me 10,000-20,000-30,000-40,000, etc...
That sort of thing.
I am using this for a graph program located here http://www.getpowered.net/lee/RChart/ChartPHP/test2.php and I need the numbers on the left to be in the 10,100,1000,10000,100000,1000000, vein depending on the max number given.
I know it's kinda confusing. Thanks for tha help!
😃