Math.fmod

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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