Forum

Integer portion

Hi everyone, codersguru, First post here. I am new to MQL4 but have a few years experience in VB, C# and some C++. I am trying to do a calculation that operates on the integer portion of a value. my line of code is : diff = anch - (int(anch/incr) * incr); but the compiler is complaining that I have