Skip to main content

math.modf

Returns the integral and fractional component of the modulo operation.

math.modf(base: number): number, number

Arguments

NameDescriptionType
baseN/Anumber

Returns number, number