Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
which function do you mean?
First through the line or NL?
NL function.
If so:
It gives 0.44 instead of 0.45.
NL function.
If so:
It gives 0.44 instead of 0.45.
NL function.
If so:
You get 0.44 instead of 0.45.
This is because: MathFloor(value/step)=44
The input is 44.9999999999999999, this function returns the closest whole number from the bottom.
why: value/step(0.45/0.01)=44.9999999999999999 is not my question )
is from the fact that: MathFloor(value/step)=44
The input value is 44.99999999999999. This function returns the closest integer from the bottom.
why: value/step(0.45*100)=44.9999999999999999 is not my question.)
Thank you. :)
Thanks. :)
So your function is more correct )
By the way, in this case all functions except mine give 0.45 ))
so your function is more correct )
by the way in this case all functions except mine give 0.45 ))
well, sanyok, you're a liar.
my function:
=0.44my function
is =0.44.Right, and the result in the calculator is 0.45. :)
Right, I wasn't paying attention at first.