soggy.Documentation Back to Soggy ↗

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

Type to search guides, functions and events.