ToRadians (Float function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
Line 17: Line 17:


==Examples==
==Examples==
<ol><li>The following displays <code>6.28318530717959</code>:
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>
</ol>


==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

Examples

The following displays 6.28318530717959:

printText {360:toRadians}

See also