math functions
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
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.