Difference between revisions of "Math.cos"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
returns cosine value of angle rad
+
<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 ===
 
=== Parameters ===
'''rad''': (number) angle in radians <br/>
+
'''rad''': (number) <translate>angle in radians</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) result<br/>
+
'''Returns''' (number) <translate>result</translate><br/>

Revision as of 13:38, 23 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