MathMod error message
double remainder = MathMod(value, value2);
treviso:
Hello,
I need some help with this code I wrote using the MathMod function:
double remainder;
double value = Bid;
double value2 = 0.0025;
remainder = double MathMod(value, value2); <-------- should be: remainder = MathMod(value, value2);
When I complie my EA I get this error message:
'MathMod' - variable expected
Thanks to all who can help out !!!
Hello,
I need some help with this code I wrote using the MathMod function:
double remainder;
double value = Bid;
double value2 = 0.0025;
remainder = double MathMod(value, value2);
When I complie my EA I get this error message:
'MathMod' - variable expected
Thanks to all who can help out !!!