nanos world API Reference Unofficial documentation
Static function Shared Native

math.modf

Return the integral and fractional parts of the given number

Syntax

Lua
math.modf(base)

Parameters

Name Type Default Description
base number The base value.

Returns

  • number
  • number