ToRadians (Float function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "{{Template:Float:ToRadians subtitle}} The <var>ToRadians</var> <var>intrinsic</var> function converts a number represented in degrees to radians. ==Syntax...")
 
m (Created page with "{{Template:Float:ToRadians subtitle}} The <var>ToRadians</var> <var>intrinsic</var> function converts a number represented in degrees to radians. ==Syntax...")
Line 14: Line 14:


==Usage notes==
==Usage notes==
<ul><li><var>ToRadians</var> is available as of <var class="product">[[Sirius Mods|"Sirius Mods"]]</var> Version 7.8.</ul>
<ul><li><var>ToRadians</var> is available as of <var class="product">[[Sirius Mods|Sirius Mods]]</var> Version 7.8.</ul>


==Examples==
==Examples==

Revision as of 17:46, 4 May 2011

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

  1. The following displays 6.28318530717959:

    printText {360:toRadians}

See also