ToDegrees (Float function)

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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