investguy:
https://forum.mql4.com/50733#682147
Hi,
Lets suppose we have the double 1.2467 .
I know i could grab only the last 2 digits of this number with: 67 = NormalizeDouble(number,2);
How could i grab only the following 2 digits after the "." rounding it to display only: "25"
Thank You
This number is not a price, is a indicator value. Your link did enlight ANOTHER question i had tho.
investguy:
Lets suppose we have the double 1.2467 .
I know i could grab only the last 2 digits of this number with: 67 = NormalizeDouble(number,2);
How could i grab only the following 2 digits after the "." rounding it to display only: "25"
- NormalizeDouble(1.2467,2) = 1.25. Not 67
- See also the link from deVries Return the value of a digit - MQL4 forum
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
Hi,
Lets suppose we have the double 1.2467 .
I know i could grab only the last 2 digits of this number with: 67 = NormalizeDouble(number,2);
How could i grab only the following 2 digits after the "." rounding it to display only: "25"
Thank You