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.
That's how it works! Thank you. I normalise to 3 digits and then trim the extra digits after the decimal point.
Can you tell me if there is a standard function to trim H digits after the decimal point? Like StringSubStr only if it is a fractional number.
Trimai.
Trimai.
Couldn't you come up with a more convoluted way?
The best way is to use DoubleToStr() with one extra character, and use StringSubstr() to discard the last character.
Couldn't you come up with a more convoluted way?
The best way is to use DoubleToStr() with one extra character, and use StringSubstr() to discard the last character.
Trimay.
Couldn't have done any better. Lines are terribly slow.
There are special functions
Code?
Couldn't have done any better. Lines are terribly slow.
There are special functions
Do it yourself.
That's what I thought.
Code?
What code.
Multiply by a factor, take the minimum integer. divide by a factor
What code.
Multiply by a factor, take the minimum integer. divide by a factor