Difference between revisions of "Math.cos"
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 cosine value of angle rad</translate> | <translate>returns cosine value of angle rad</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
(number) = math.cos(rad) | (number) = math.cos(rad) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''rad''': (number) <translate>angle in radians</translate> <br/> | '''rad''': (number) <translate>angle in radians</translate> <br/> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (number) <translate>result</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>result</translate><br/> |
Revision as of 07:28, 24 August 2018
Available since: Gideros 2011.6
Description
returns cosine value of angle rad
(number) = math.cos(rad)
Parameters
rad: (number) angle in radians
Return values
Returns (number) result