ToRadians (Float function)

From m204wiki
Jump to navigation Jump to search

Convert a number in desgrees to radians (Float class)

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


%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.


The following displays 6.28318530717959:

printText {360:toRadians}

See also