Ctu()
Jump to navigation
Jump to search
ctu(<number>, <units-from>, <units-to>)
The ctu() function will convert <number> that was originally in the units of <units-from> into the units of <units-to>.
The units available are (r)adians, (g)radians, and (d)egrees.
180 degrees = PI (3.141592653589793) radians = 200 gradians.
Example
> say ctu(180,d,g)
You say, "200"
> say ctu(180,d,r)
You say, "3.141592653589793"