is there a way to round integers? eg) 1811-> 1800

 
i see a normalize double, rounds the decimal points, is there a way to round a integer? i want to write a script that works across the currencies and since there are many that have different digits its sorta frustrating.
 
double MathRound( double value)
 

integer/=100;

integer*=100;

 

Here is a right way for rounding:

Mathround(x/100.0)*100;

stringo's way is more like flooring.

Reason: