ToRadians (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 desgrees to radians (Float class)


The ToRadians intrinsic function converts a number represented in degrees to radians.

Syntax

%number = float:ToRadians

Syntax terms

%number A variable to receive the converted radians value.
float A Float degrees value.

Usage notes

  • ToRadians is available as of Sirius Mods Version 7.8.

Examples

The following displays 6.28318530717959:

printText {360:toRadians}

See also