NormalizeDouble function New comment Alberto Tortella 2009.04.21 11:44 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! [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. Rounding numbers in MT4 via NormalizeDouble Incorrect rounding from the NormalizeDouble function. Slava 2009.04.21 13:16 #1 double value=0.017; int norm=value*100.0; value=norm; value/=100.0; New comment
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!