Get the number of decimal places of any numbers (not just quotes) bypassing Digits() in MQL4 and MQL5 - page 6
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Why?
Here's the addendum
Result
Here's the addendum
Result
MathAbs(log10(Point()))
Why do I need it? I already know that 0.00001 is printed without distortion. After all, the question of the topic is to determine the number of decimal places of any number, not just _Point . I showed you in which versions your suggestion will not work.
As a mental workout, the fractional part should be represented as a natural fraction and do something with the divisor/dividend (find the nearest non-periodic fraction, for example)
telepathically finding out "how many digits the sender gave you" will not help, but it's fun.
Come to your senses. This is nonsense that should not even be discussed seriously.
The author simply has a total misunderstanding of the inner workings of double variables.
Come to your senses. This is nonsense that should not even be discussed seriously.
The author simply has a total misunderstanding of the inner workings of double variables.
Come to your senses. This is nonsense that should not even be discussed seriously.
The author simply has a total lack of understanding of the inner workings of double variables.
Please enlighten us poor and weak ones.
When will the algorithm be finalised? There is a long overdue need to use it.