Download MetaTrader 5
To add comments, please log in or register
Develop applications to order. Make profit using Freelance service!
Blackburn
26
Blackburn 2015.02.03 17:35 

Hi,

I'm fairly new in MQL is there a way to get the exact value of the Digit variable let's say for EU 1.3050, is there a way to get 3050 or can I do it by splicing the variable?

Thanks in advance!

Carl Schreiber
6133
Carl Schreiber 2015.02.03 17:50  
double value    = 1.3050,
       reminder = (value - MathFloor(value))/Point;
Blackburn
26
Blackburn 2015.02.04 05:32  
@gooly thanks will give that a try :)
/
To add comments, please log in or register