Math.fmod: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/math|math]]<br/>
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate>Returns the remainder of the division of v1 by v2 that rounds the quotient towards zero.</translate>
<translate>Returns the remainder of the division of v1 by v2 that rounds the quotient towards zero.</translate>

Revision as of 08:29, 24 August 2018

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