I am pulling 10 integers from a MySQL DB:
I want to be able to determine the largest value then round up to the nearest hundredth. With this I want to then be able to create a list of 10 numbers that are evenly separated down to zero.
In Example :
{ 232, 10, 0, 55, 130, 423, 102, 22, 98, 3 }
Take : 423 => Round up to 500
Then with the number 500 come back with equally separated numbers such as :
500 , 450 , 400, 350, 300, 250, 200, 150, 100, 50, 0
Thank you for the help in advance!
Chris
This should do it: