Static function
Native
math.modf
Return the integral and fractional parts of the given number
Syntax
math.modf(base)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
base
|
number | — | The base value. |
Returns
- number
- number