If we need a mod function that we can pass a real values... we can write our own method like this:
Navigation Path:
AOT > Classes > Global > Create a new Method:
real RealMod(real a, real b)
{
;
;
return (a - ((trunc(a / b) * b)));
}
Hope this helps all you guys there. :)
Happy Daxing.
No comments:
Post a Comment