|
|
|
@ -3,16 +3,14 @@
|
|
|
|
|
<html lang="en"> |
|
|
|
|
|
|
|
|
|
<head> |
|
|
|
|
<title>TTCalc - numbers, standard operators and built-in variables</title> |
|
|
|
|
<title>TTCalc - standard operators and built-in variables</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="numbers"> |
|
|
|
|
<param name="Keyword" value="comma"> |
|
|
|
|
<param name="Keyword" value="dot"> |
|
|
|
|
<param name="Keyword" value="standard operators"> |
|
|
|
|
<param name="Keyword" value="builtin variables"> |
|
|
|
|
<param name="Keyword" value="e"> |
|
|
|
|
<param name="Keyword" value="pi"> |
|
|
|
|
<param name="Keyword" value="%"> |
|
|
|
|
<param name="Keyword" value="^"> |
|
|
|
|
<param name="Keyword" value="*"> |
|
|
|
|
<param name="Keyword" value="/"> |
|
|
|
@ -25,39 +23,34 @@
|
|
|
|
|
|
|
|
|
|
<body> |
|
|
|
|
|
|
|
|
|
<h1>Numbers</h1> |
|
|
|
|
|
|
|
|
|
<p> |
|
|
|
|
You can type numbers directly using your keyboard or insert them by a mouse. This is a simple edit window, |
|
|
|
|
you can use arrow keys etc. and copy&paste text by using standard shortcuts such as CTRL+C and CTRL+V. |
|
|
|
|
Decimal point can be either a comma or a dot that means 1,234 is the same as 1.234. |
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
<h1>Standard operators</h1> |
|
|
|
|
|
|
|
|
|
<dl> |
|
|
|
|
<dt>%</dt> |
|
|
|
|
<dd>Percentage from a previous value: 1000-30% = 700</dd> |
|
|
|
|
|
|
|
|
|
<dt>^</dt> |
|
|
|
|
<dd>Powering, e.g.: 2^3=8</dd> |
|
|
|
|
<dd>Powering: 2^3 = 8</dd> |
|
|
|
|
|
|
|
|
|
<dt>*</dt> |
|
|
|
|
<dd>Multiplication, e.g.: 2*3=6</dd> |
|
|
|
|
<dd>Multiplication: 2*3 = 6</dd> |
|
|
|
|
|
|
|
|
|
<dt>/</dt> |
|
|
|
|
<dd>Division, e.g.: 2/3 = 0.6666...</dd> |
|
|
|
|
<dd>Division: 2/3 = 0.6666...</dd> |
|
|
|
|
|
|
|
|
|
<dt>+</dt> |
|
|
|
|
<dd>Addition, e.g.: 2+3=5<br> |
|
|
|
|
Unary plus, e.g.: +2</dd> |
|
|
|
|
<dd>Addition: 2+3 = 5<br> |
|
|
|
|
Unary plus: +2</dd> |
|
|
|
|
|
|
|
|
|
<dt>-</dt> |
|
|
|
|
<dd>Subtraction, e.g.: 2-3=-1<br> |
|
|
|
|
Unary minus, e.g.: -2</dd> |
|
|
|
|
<dd>Subtraction: 2-3 = -1<br> |
|
|
|
|
Unary minus: -2</dd> |
|
|
|
|
|
|
|
|
|
<dt>#</dt> |
|
|
|
|
<dd>Operator for changing the base (radix) to 16 (hex), e.g.: #ff=255</dd> |
|
|
|
|
<dd>Operator for changing the base (radix) to 16 (hex): #ff = 255</dd> |
|
|
|
|
|
|
|
|
|
<dt>&</dt> |
|
|
|
|
<dd>Operator for changing the base (radix) to 2 (bin), e.g.: -&110=-6</dd> |
|
|
|
|
<dd>Operator for changing the base (radix) to 2 (bin): -&110 = -6</dd> |
|
|
|
|
|
|
|
|
|
</dl> |
|
|
|
|
|
|
|
|
|