NormalizeDouble function

 

Hi, I’m watching the NormalizeDouble function.

I know that the function, with 2 digits, works as follow: 0.017 is rounded to 0.02.

Is there the possibility to round the number to the lowest level?

If the number is 0.017 I’d like to round to 0.01.

Thank you!

 
double value=0.017;
int    norm=value*100.0;
value=norm;
value/=100.0;