Function reference · Math
degrees
Converts an angle in radians to degrees exactly.
degrees(x) multiplies the input by 180/pi. Symbolic inputs remain exact.
Examples
These examples use Nerdamer Notation.
Convert pi radians to 180 degrees.
degrees(pi)
// → 180Convert an exact rational multiple of pi.
degrees(2*pi/3)
// → 120Keep a symbolic radian measure exact.
degrees(x)
// → 180*x*pi^-1Interfaces
The same operation is available through the interfaces below.
Nerdamer Notation
Use this form inside input passed to nerdamer(...).
degrees(arg1)
nerdamer.degrees
Call the operation through the default nerdamer import.
nerdamer.degrees(x: ExpressionInput): Expression
Parameters
| Name | Type | Description |
|---|---|---|
x | ExpressionInput | — |
