docs/ikteam: Delete most files.
[haiku.git] / docs / userguide / en / applications / deskcalc.html
blobecd9a70e1ebe86af9c211d3ce6be07daae6a8b75
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
4 <head>
5 <!--
7 * Copyright 2009-2012, Haiku. All rights reserved.
8 * Distributed under the terms of the MIT License.
10 * Authors:
11 * Humdinger <humdingerb@gmail.com>
13 -->
14 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
15 <meta http-equiv="Content-Style-Type" content="text/css" />
16 <meta name="robots" content="all" />
17 <title>DeskCalc</title>
18 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19 <link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
20 </head>
21 <body>
23 <div id="banner">
24 <div><span>User guide</span></div>
25 </div>
27 <div class="nav">
28 <div class="inner">
29 <ul class="lang-menu">
30 <li class="now"><img src="../../images/flags/gb.png" alt="" /> English</li>
31 <li><a href="../../ca/applications/deskcalc.html"><img src="../../images/flags/ca.png" alt="" />Català</a></li>
32 <li><a href="../../de/applications/deskcalc.html"><img src="../../images/flags/de.png" alt="" />Deutsch</a></li>
33 <li><a href="../../es/applications/deskcalc.html"><img src="../../images/flags/es.png" alt="" />Español</a></li>
34 <li><a href="../../fr/applications/deskcalc.html"><img src="../../images/flags/fr.png" alt="" />Français</a></li>
35 <li><a href="../../it/applications/deskcalc.html"><img src="../../images/flags/it.png" alt="" />Italiano</a></li>
36 <li><a href="../../hu/applications/deskcalc.html"><img src="../../images/flags/hu.png" alt="" />Magyar</a></li>
37 <li><a href="../../pl/applications/deskcalc.html"><img src="../../images/flags/pl.png" alt="" />Polski</a></li>
38 <li><a href="../../pt_PT/applications/deskcalc.html"><img src="../../images/flags/pt_PT.png" alt="" />Português</a></li>
39 <li><a href="../../pt_BR/applications/deskcalc.html"><img src="../../images/flags/pt_BR.png" alt="" />Português (Brazil)</a></li>
40 <li><a href="../../ro/applications/deskcalc.html"><img src="../../images/flags/ro.png" alt="" />Română</a></li>
41 <li><a href="../../sk/applications/deskcalc.html"><img src="../../images/flags/sk.png" alt="" />Slovenčina</a></li>
42 <li><a href="../../fi/applications/deskcalc.html"><img src="../../images/flags/fi.png" alt="" />Suomi</a></li>
43 <li><a href="../../sv_SE/applications/deskcalc.html"><img src="../../images/flags/sv_SE.png" alt="" />Svenska</a></li>
44 <li><a href="../../zh_CN/applications/deskcalc.html"><img src="../../images/flags/zh_CN.png" alt="" /> 中文 [中文]</a></li>
45 <li><a href="../../ru/applications/deskcalc.html"><img src="../../images/flags/ru.png" alt="" />Русский</a></li>
46 <li><a href="../../uk/applications/deskcalc.html"><img src="../../images/flags/uk.png" alt="" />Українська</a></li>
47 <li><a href="../../jp/applications/deskcalc.html"><img src="../../images/flags/jp.png" alt="" />日本語</a></li>
48 </ul>
49 <span>
50 « <a href="debugger.html">Debugger</a>
51 :: <a href="../applications.html#list-of-apps" class="uplink">Applications</a>
52 :: <a href="diskprobe.html">DiskProbe</a> »
53 </span></div>
54 </div>
56 <div id="content">
57 <div>
59 <h2><img src="../../images/apps-images/deskcalc-icon_64.png" alt="deskcalc-icon_64.png" width="64" height="64" />DeskCalc</h2>
60 <table summary="layout" border="0" cellspacing="0" cellpadding="2">
61 <tr><td>Deskbar:</td><td style="width:15px;"></td><td><span class="menu">Applications</span></td></tr>
62 <tr><td>Location:</td><td></td><td><span class="path">/boot/system/apps/DeskCalc</span></td></tr>
63 <tr><td>Settings:</td><td></td><td><span class="path">~/config/settings/DeskCalc_settings</span></td></tr>
64 </table>
65 <p><br /></p>
66 <p>DeskCalc is a simple calculator that nevertheless has some nice features that aren't apparent on first sight.</p>
67 <img src="../images/apps-images/deskcalc.png" alt="deskcalc.png" />
68 <ul>
69 <li><p>DeskCalc understands much more than its simple keypad suggests.<br />
70 Besides the operators <tt> </tt>, <tt>-</tt>, <tt>*</tt>, <tt>/</tt>, <tt>%</tt>, <tt>^</tt> and the constants <tt>pi</tt> and <tt>e</tt> the following math functions are supported:<br />
71 <tt>!</tt>, <tt>acos</tt>, <tt>asin</tt>, <tt>atan</tt>, <tt>atan2</tt>, <tt>cbrt</tt>, <tt>ceil</tt>, <tt>cos</tt>, <tt>cosh</tt>, <tt>exp</tt>, <tt>floor</tt>, <tt>log</tt>, <tt>log10</tt>, <tt>pow</tt>, <tt>sin</tt>, <tt>sinh</tt>, <tt>sqrt</tt>, <tt>tan</tt>, <tt>tanh</tt>.</p></li>
73 <li><p>Right-clicking offers these options:</p>
74 <table summary="layout" border="0" cellspacing="0" cellpadding="2">
75 <tr><td colspan="2"><span class="menu">Enable Num Lock on start up</span></td><td style="width:15px;"></td><td>Automatically activates the number block when launching DeskCalc.</td></tr>
76 <tr><td colspan="2"><span class="menu">Radiants/Degrees</span></td><td></td><td>Switch between "rad" and "deg" as unit for angular measure.</td></tr>
77 <tr><td><span class="menu">Compact</span></td><td><span class="key">ALT</span> <span class="key">0</span></td><td></td><td>A minimal view mode that hides the keypad.</td></tr>
78 <tr><td><span class="menu">Basic</span></td><td><span class="key">ALT</span> <span class="key">1</span></td><td></td><td>The standard look of DeskCalc.</td></tr>
79 <tr><td><span class="menu">Scientific</span></td><td><span class="key">ALT</span> <span class="key">2</span></td><td></td><td>Show additional buttons for advanced calculations.</td></tr>
80 </table></li>
81 <li><p>When it comes to user input, DeskCalc is quite tolerant:<br />
82 <tt>/</tt>, <tt>:</tt>, <tt>\</tt> are all interpreted as division operators,<br />
83 <tt>*</tt>, <tt>x</tt> are valid symbols for multiplication.<br />
84 Also, be aware that <tt>.</tt> and <tt>,</tt> are both considered floating points, which means you mustn't use them as 1000-separators.</p></li>
85 <li><p>You can resize the calculator until it fits your needs and then put it as <a href="../gui.html#replicants">Replicant</a> onto the Desktop via drag &amp; drop of the symbol in the bottom right corner. Make sure <span class="menu">Show replicants</span> is activated in the Deskbar.</p></li>
86 <li><p>The keypad can be colored with a drag &amp; drop from any color well, e.g. from <span class="app">Icon-O-Matic</span>.</p></li>
87 <li><p>You can move up and down in a history of past calculations with <span class="key"></span> and <span class="key"></span>.</p></li>
88 <li><p>You can select DeskCalc's contents and drag &amp; drop it into any application. Or you drop it into a Tracker window or onto the Desktop and a text file with that clipping is created there.</p>
89 <p>Even better, the reverse is also possible:<br />
90 Create clippings as described at various stages of your calculation and go back to them by drag &amp; dropping them back into DeskCalc.<br />
91 Or you drag &amp; drop a calculation directly out of an email onto DeskCalc.</p></li>
92 <li><p>DeskCalc can be used in Terminal. Just put the expression in double quotes, like this:</p>
93 <pre class="terminal">~&gt; DeskCalc "sin(45)*(cos(12)+3.45)"
94 3.65365546732025461817951947270058</pre>
95 <p>Note: Used in the Terminal, DeskCalc will always use radians as unit for these trigonometric functions.</p></li>
96 </ul>
98 </div>
99 </div>
101 <div class="nav">
102 <div class="inner"><span>
103 « <a href="debugger.html">Debugger</a>
104 :: <a href="../applications.html#list-of-apps" class="uplink">Applications</a>
105 :: <a href="diskprobe.html">DiskProbe</a> »
106 </span></div>
107 </div>
109 </body>
110 </html>