haiku/docs/userguide/en/applications/apps-deskcalc.html
Joachim Seemer 714d0c0567 * Fixed link in applications.html
* Added "setup wizard" and some info on IMAP to prefs-e-mail.html. IMAP is a bit
  broken, as was recently found out, so I'll leave it all at that for now.
* Moved every localization-dependent image into a mirror image folder under its
  language (ATM there's only "en"). Only neutral images like icons remain
  directly under /docs/userguide/images.
* Changed all image links accordingly.
* Removed all height and width attributes to ease exchanging images. Only fixed
  size images (icons) will retain them for faster loading.
* Added a special pre.terminal for printouts to save ink. Thanks Rob Tijssen for
  that suggestion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 17:14:31 +00:00

88 lines
4.6 KiB
HTML

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"../../../../html-dtd/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<!--
*
* Copyright 2009, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger <humdingerb@gmail.com>
*
-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="robots" content="all" />
<title>DeskCalc</title>
<link rel="stylesheet" type="text/css" href="../../../Haiku-doc.css" />
</head>
<body>
<div class="logo">
<img src="../../images/logo.png" alt="logo" width="372" height="86" />
<div class="title">DeskCalc</div>
</div>
<div class="topnav">
<p>
<a href="../applications.html#list-of-apps">Applications</a>
&#160;&#160;&#160;
Previous: <a href="apps-codycam.html">CodyCam</a>
&#160;&#160;&#160;
Next: <a href="apps-diskprobe.html">DiskProbe</a>
</p>
</div>
<div class="content">
<h1><img src="../../images/apps-images/deskcalc-icon_64.png" alt="deskcalc-icon_64.png"
width="64" height="64" />DeskCalc</h1>
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
<tr><td>Deskbar:</td><td style="width:15px;"></td><td><span class="menu">Applications</span></td></tr>
<tr><td>Location:</td><td></td><td><span class="path">/boot/system/apps/DeskCalc</span></td></tr>
<tr><td>Settings:</td><td></td><td><span class="path">~/config/settings/DeskCalc_settings</span></td></tr>
</table>
<p>DeskCalc is a simple calculator that nevertheless has some nice features that aren't apparent on first sight.</p>
<img src="../images/apps-images/deskcalc.png" alt="deskcalc.png" />
<ul>
<li><p>DeskCalc understands much more than its simple keypad suggests.<br />
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 />
<tt>acos</tt>, <tt>asin</tt>, <tt>atan</tt>, <tt>atan2</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>
<li><p>When it comes to user input, DeskCalc is quite tolerant:<br />
<tt>/</tt>, <tt>:</tt>, <tt>\</tt> are all interpreted as division operators,<br />
<tt>*</tt>, <tt>x</tt> are valid symbols for multiplication.<br />
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>
<li><p>Right-clicking offers these options:</p>
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
<tr><td><span class="menu">Auto Num Lock</span></td><td style="width:15px;"></td><td>automatically activates the number block when launching DeskCalc</td></tr>
<tr><td><span class="menu">Audio Feedback</span></td><td></td><td>plays a sound when showing a result</td></tr>
<tr><td><span class="menu">Show Keypad</span></td><td></td><td>hides the keypad when deactivated</td></tr>
</table></li>
<li><p>You can resize the calculator until it fits your needs and then put it as Replicant onto the Desktop via drag&drop of the symbol in the bottom right corner. Make sure <span class="menu">Show Replicants</span> is activated in the Deskbar.</p></li>
<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>
<li><p>You can move up and down in a history of past calculations with <span class="key">&uarr;</span><span class="key">&darr;</span>.</p></li>
<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>
<p>Even better, the reverse is also possible:<br />
Create clippings as described at various stages of your calculation and go back to them by drag&amp;dropping them back into DeskCalc.<br />
Or you drag&amp;drop a calculation directly out of an email onto DeskCalc.</p></li>
<li><p>DeskCalc can be used in Terminal. Just put the expression in double quotes, like this:</p>
<pre class="terminal">~> DeskCalc "sin(45)*(cos(12)+3.45)"
3.6536554673202546181795194727005826674359494735820338441084848</pre></li>
</ul>
</div>
<div class="bottomnav">
<p>
<a href="../applications.html#list-of-apps">Applications</a>
&#160;&#160;&#160;
Previous: <a href="apps-codycam.html">CodyCam</a>
&#160;&#160;&#160;
Next: <a href="apps-diskprobe.html">DiskProbe</a>
</p>
</div>
</body>
</html>