Difference between revisions of "Math.rad"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
returns angle in radians of degrees deg
+
<translate>returns angle in radians of degrees deg</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = math.rad(deg)
 
(number) = math.rad(deg)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''deg''': (number) angle in degrees <br/>
+
'''deg''': (number) <translate>angle in degrees</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) angle in radians<br/>
+
'''Returns''' (number) <translate>angle in radians</translate><br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2011.6

Description

returns angle in radians of degrees deg

(number) = math.rad(deg)

Parameters

deg: (number) angle in degrees

Return values

Returns (number) angle in radians