ToDegrees (Float function): Difference between revisions

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


==Usage notes==
==Usage notes==
<ul><li><var>ToDegrees</var> is available as of <var class="product">[[Sirius Mods|"Sirius Mods"]]</var> Version 7.8.</ul>
<ul><li><var>ToDegrees</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 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

Examples

  1. The following displays 180:

    printText {$pi:toDegrees}

See also