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
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