> On Jan 8, 2017, at 7:54 PM, Sven Barth <pascaldra...@googlemail.com> wrote:
> 
> Ehm, right. Add the Math unit, it contains an operator overload for
> floating points. Alternatively you can use (also from the Math unit) the
> FMod() function.

Hmmm, adding Math didn’t help and the FMod function is not found even. 
http://www.freepascal.org/docs-html/rtl/math/index-5.html doesn’t show this 
function exists either.

I thought (int)x was just type casting and didn’t actually transform the 
number. That’s confusing.

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to