Difference between revisions of "Cos - Math"
m
→Examples: Floatified afValue
imported>Nali |
imported>JustinOther m (→Examples: Floatified afValue) |
||
(One intermediate revision by one other user 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 = math.cos(180) ; x == -1 | float x = math.cos(180.0) ; x == -1 | ||
float y = math.cos(90) ; y == 0 | float y = math.cos(90.0) ; y == 0 | ||
</source> | </source> | ||