ToDegrees (Float function)

From m204wiki
Revision as of 20:16, 29 March 2011 by John (talk | contribs) (Created page with "{{Template:Float:ToDegrees subtitle}} The <var>ToDegrees</var> <var>intrinsic</var> function converts a number represented in radians to degrees. ==Syntax...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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