ToRadians (Float function)

From m204wiki
Revision as of 18:18, 2 November 2012 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

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