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