65 lines
2.0 KiB
HTML
65 lines
2.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>TTCalc - Conversions between radians, degrees and gradians</title>
|
|
<link rel="stylesheet" href="styles.css" type="text/css">
|
|
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
|
|
<param name="Keyword" value="degtodeg">
|
|
<param name="Keyword" value="degtorad">
|
|
<param name="Keyword" value="degtograd">
|
|
<param name="Keyword" value="radtodeg">
|
|
<param name="Keyword" value="radtograd">
|
|
<param name="Keyword" value="gradtorad">
|
|
<param name="Keyword" value="gradtodeg">
|
|
</object>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Arithmetic functions</h1>
|
|
|
|
<p><strong>Note:</strong> If a function takes more than one argument, the arguments are separated with semicolon ';'.</p>
|
|
|
|
|
|
<h2>Conversions between radians, degrees and gradians</h2>
|
|
|
|
<dl>
|
|
|
|
<dt>degtodeg(deg; min; sec)</dt>
|
|
<dd>This function converts degrees from the long format with degrees, minutes and seconds to degrees.<br>
|
|
For example: degtodeg(12; 30; 0)=12.5</dd>
|
|
|
|
<dt>degtorad(deg; min; sec)</dt>
|
|
<dd>This function converts degrees in the long format (degrees, minutes, seconds) to radians.<br>
|
|
degtorad(12; 30; 0)=0.218166...</dd>
|
|
|
|
<dt>degtograd(deg; min; sec)</dt>
|
|
<dd>This function converts degrees in the long format (degrees, minutes, seconds) to gradians<br>degtograd(12; 30; 0)=13.888...</dd>
|
|
|
|
<dt>degtorad(deg)</dt>
|
|
<dd>This function converts degrees to radians<br>degtorad(12.5)=0.218166...</dd>
|
|
|
|
<dt>degtograd(deg)</dt>
|
|
<dd>This function converts degrees to gradians<br>degtograd(12.5)=13.8888...</dd>
|
|
|
|
|
|
<dt>radtodeg(rad)</dt>
|
|
<dd>This function converts radians to degrees<br>radtodeg(pi)=180</dd>
|
|
|
|
<dt>radtograd(rad)</dt>
|
|
<dd>This function converts radians to gradians<br>radtograd(pi)=200</dd>
|
|
|
|
<dt>gradtorad(grad)</dt>
|
|
<dd>This function converts gradians to radians<br>gradtorad(400)=6.2831....=2*pi</dd>
|
|
|
|
<dt>gradtodeg(grad)</dt>
|
|
<dd>This function converts gradians to degrees<br>gradtodeg(100)=90</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
</body>
|
|
</html>
|