Method ToRadians
ToRadians(Double)
Same as Java's Math.toRadians(double)
but 3x faster (multiply vs. divide).
See CompareRadiansSnippet.java in tests.
Declaration
public static double ToRadians(double degrees)
Parameters
Type | Name | Description |
---|---|---|
System.Double | degrees |
Returns
Type | Description |
---|---|
System.Double |