Math

math.fmod

Returns the remainder of the division of x by y that rounds the quotient towards zero.

Syntax

fmod(x: number, y: number)  returns  number