Availability
This routine is available starting with katl-commons 2.5.
Syntax
degrees(radians)
Description
Converts radians to degrees.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
radians | Number | Yes | Angle in radians you want to convert. |
Return type
number
Example
number a = degrees(pi()); print("a= " + a);
Prints: a= 180;
See also