Does anyone know an algorithm to return any number to the nearest 100?
eg. I pass in 2733, algorithm returns 2700.
4599.....returns 4600
12....returns 0
98....returns 100
etc
many thanks in advance.
Does anyone know an algorithm to return any number to the nearest 100?
eg. I pass in 2733, algorithm returns 2700.
4599.....returns 4600
12....returns 0
98....returns 100
etc
many thanks in advance.