NormalizeDouble()
simple question but i can't figure it out. what math function in mql is used to round out a double value?
say, for example, i've got 0.69 and i want the result to be .70. or if the value is .63 and the result would be .60.
the mathceiling() and mathfloor() do not do the trick.
say, for example, i've got 0.69 and i want the result to be .70. or if the value is .63 and the result would be .60.
the mathceiling() and mathfloor() do not do the trick.
For your sample :
MathFloor(10*X+0.5)/10

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
say, for example, i've got 0.69 and i want the result to be .70. or if the value is .63 and the result would be .60.
the mathceiling() and mathfloor() do not do the trick.