Difference between revisions of "Math.rad"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>returns angle in radians of degrees deg</translate> | <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 === | + | === <translate>Parameters</translate> === |
'''deg''': (number) <translate>angle in degrees</translate> <br/> | '''deg''': (number) <translate>angle in degrees</translate> <br/> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (number) <translate>angle in radians</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>angle in radians</translate><br/> |
Revision as of 07:28, 24 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