Math.fmod

From GiderosMobile
Revision as of 14:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2011.6
Class: math

Description

Returns the remainder of the division of v1 by v2 that rounds the quotient towards zero.

(number) = math.fmod(v1,v2)

Parameters

v1: (number) first value
v2: (number) second value

Return values

Returns (number) remainder of division