ToDegrees (Float function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
Line 1: Line 1:
{{Template:Float:ToDegrees subtitle}}
{{Template:Float:ToDegrees subtitle}}


The <var>ToDegrees</var> <var>[[Intrinsic classes|intrinsic]]</var> function converts a number represented in radians to degrees.
The <var>ToDegrees</var> [[Intrinsic classes|intrinsic]] function converts a number represented in radians to degrees.


==Syntax==
==Syntax==
{{Template:Float:ToDegrees syntax}}
{{Template:Float:ToDegrees syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 14: Line 15:


==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</var> Version 7.8.
</ul>


==Examples==
==Examples==

Latest revision as of 18:10, 2 November 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}

See also