1,482
edits
imported>JustinOther m (→Examples: Floatified afValue) |
m (Convert source tags to syntaxhighlight) |
||
| Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
float Function cos(float afValue) native global | float Function cos(float afValue) native global | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
float x = math.cos(180.0) ; x == -1 | float x = math.cos(180.0) ; x == -1 | ||
float y = math.cos(90.0) ; y == 0 | float y = math.cos(90.0) ; y == 0 | ||
</ | </syntaxhighlight> | ||
== See Also == | == See Also == | ||