Ctu(): Difference between revisions
Jump to navigation
Jump to search
Ihavenomouth (talk | contribs) New page: Category:Functions {{Function|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 <u... |
(No difference)
|
Latest revision as of 19:42, 25 November 2010
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"