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:

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 

https://forum.mql4.com/50733#682147
 
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"

  1. NormalizeDouble(1.2467,2) = 1.25. Not 67
  2. See also the link from deVries Return the value of a digit - MQL4 forum