Math.modf

From GiderosMobile
Revision as of 11:57, 13 November 2022 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> '''Class:''' math<br/> === Description === Returns the integer and the fractional value of the number. <source lang="...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2011.6
Class: math

Description

Returns the integer and the fractional value of the number.

(number) (number) = math.modf(v1)

Parameters

v1: (number) number value

Return values

Returns (number) the integer value of the number
Returns (number) the fractional value of the number