Difference between revisions of "Degrees"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function Degrees(Radians: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Converts an...") |
(→Example) |
||
Line 14: | Line 14: | ||
begin | begin | ||
WriteLn(Degrees(Pi)); | WriteLn(Degrees(Pi)); | ||
+ | WriteLn(Degrees(Pi / 2)); | ||
end. | end. | ||
</source> | </source> | ||
Line 19: | Line 20: | ||
Output: | Output: | ||
180 | 180 | ||
+ | 90 | ||
==See Also== | ==See Also== |
Revision as of 07:53, 28 June 2011
Definition
function Degrees(Radians: Extended): Extended;
Availability
SCAR Divi 3.00 > Current
Description
Converts an angle defined in radians to a value defined in degrees.
Example
begin WriteLn(Degrees(Pi)); WriteLn(Degrees(Pi / 2)); end.
Output:
180 90