ToDegrees (Float function)

From m204wiki
Revision as of 23:56, 19 June 2012 by JAL2 (talk | contribs) (→‎Examples)
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

The following displays 180:

printText {$pi:toDegrees}

See also