ToDegrees (Float function): Difference between revisions
Jump to navigation
Jump to search
m 1 revision |
|||
| Line 17: | Line 17: | ||
==Examples== | ==Examples== | ||
The following displays <code>180</code>: | |||
<p class="code">[[PrintText statement|printText]] {$pi:toDegrees} | <p class="code">[[PrintText statement|printText]] {$pi:toDegrees} | ||
</p> | </p> | ||
==See also== | ==See also== | ||
{{Template:Float:ToDegrees footer}} | {{Template:Float:ToDegrees footer}} | ||
Revision as of 23:56, 19 June 2012
Convert a number in radians to degrees (Float class)
The ToDegrees intrinsic function converts a number represented in radians to degrees.
Syntax
%number = float:ToDegrees
Syntax terms
| %number | A variable to receive the converted degrees value. |
|---|---|
| float | A Float radians value. |
Usage notes
- ToDegrees is available as of Sirius Mods Version 7.8.
Examples
The following displays 180:
printText {$pi:toDegrees}