Difference between revisions of "Cos - Math"

55 bytes added ,  14:13, 8 October 2012
m
→‎Examples: Floatified afValue
imported>Jlundin
 
imported>JustinOther
m (→‎Examples: Floatified afValue)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Papyrus]]
[[Category:Non-delayed Native Function]]
'''Member of:''' [[Math Script]]
'''Member of:''' [[Math Script]]


Line 18: Line 19:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
float x = cos(180) ; x == -1
float x = math.cos(180.0) ; x == -1
float y = cos(90) ; y == 0
float y = math.cos(90.0) ; y == 0
</source>
</source>


Anonymous user