Difference between revisions of "SHIP:Sail:toRadians"

From Serious Documentation
Jump to: navigation, search
Line 39: Line 39:
 
|}
 
|}
  
[[Categories: Numeric Functions]]
+
[[Category:Numeric Functions]]

Revision as of 15:21, 10 October 2016

Function Returns Introduced Description
toRadians Float v5.1.0 Convert degrees to radiansBadge SHIPv5.gif

See Also:

Prototype

Float toRadians(Float n);

Parameters/Return Value

Parameter Data Type Description
n Float the degrees angle to convert
Return Float the equivalent angle in radians

Detailed Description

The toRadians() function returns an angle in radians.

Examples

Example Result Notes
toRadians(180); 3.141592...
toRadians(-45); -0.785398...