[fpc-pascal] C# translatation

Ryan Joseph ryan at thealchemistguild.com
Sun Jan 8 14:05:04 CET 2017


> On Jan 8, 2017, at 7:54 PM, Sven Barth <pascaldragon at 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




More information about the fpc-pascal mailing list