Simple Question. Please help.
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
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
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