haiku/docs/userguide/en/applications/deskcalc.html

111 lines
7.3 KiB
HTML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<!--
*
2013-02-18 00:51:59 +04:00
* Copyright 2009-2012, 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>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
</head>
<body>
<div id="banner">
<div><span>User guide</span></div>
</div>
<div class="nav">
<div class="inner">
<ul class="lang-menu">
<li class="now"><img src="../../images/flags/gb.png" alt="" /> English</li>
<li><a href="../../ca/applications/deskcalc.html"><img src="../../images/flags/ca.png" alt="" />Català</a></li>
<li><a href="../../de/applications/deskcalc.html"><img src="../../images/flags/de.png" alt="" />Deutsch</a></li>
<li><a href="../../es/applications/deskcalc.html"><img src="../../images/flags/es.png" alt="" />Español</a></li>
<li><a href="../../fr/applications/deskcalc.html"><img src="../../images/flags/fr.png" alt="" />Français</a></li>
<li><a href="../../it/applications/deskcalc.html"><img src="../../images/flags/it.png" alt="" />Italiano</a></li>
2012-11-16 01:36:54 +04:00
<li><a href="../../hu/applications/deskcalc.html"><img src="../../images/flags/hu.png" alt="" />Magyar</a></li>
2014-05-31 02:02:36 +04:00
<li><a href="../../pl/applications/deskcalc.html"><img src="../../images/flags/pl.png" alt="" />Polski</a></li>
<li><a href="../../pt_PT/applications/deskcalc.html"><img src="../../images/flags/pt_PT.png" alt="" />Português</a></li>
<li><a href="../../pt_BR/applications/deskcalc.html"><img src="../../images/flags/pt_BR.png" alt="" />Português (Brazil)</a></li>
<li><a href="../../ro/applications/deskcalc.html"><img src="../../images/flags/ro.png" alt="" />Română</a></li>
<li><a href="../../sk/applications/deskcalc.html"><img src="../../images/flags/sk.png" alt="" />Slovenčina</a></li>
<li><a href="../../fi/applications/deskcalc.html"><img src="../../images/flags/fi.png" alt="" />Suomi</a></li>
<li><a href="../../sv_SE/applications/deskcalc.html"><img src="../../images/flags/sv_SE.png" alt="" />Svenska</a></li>
<li><a href="../../zh_CN/applications/deskcalc.html"><img src="../../images/flags/zh_CN.png" alt="" /> 中文 [中文]</a></li>
<li><a href="../../ru/applications/deskcalc.html"><img src="../../images/flags/ru.png" alt="" />Русский</a></li>
<li><a href="../../uk/applications/deskcalc.html"><img src="../../images/flags/uk.png" alt="" />Українська</a></li>
<li><a href="../../jp/applications/deskcalc.html"><img src="../../images/flags/jp.png" alt="" />日本語</a></li>
</ul>
<span>
2015-02-23 20:29:44 +03:00
« <a href="debugger.html">Debugger</a>
:: <a href="../applications.html#list-of-apps" class="uplink">Applications</a>
:: <a href="diskprobe.html">DiskProbe</a> »
</span></div>
</div>
<div id="content">
<div>
<h2><img src="../../images/apps-images/deskcalc-icon_64.png" alt="deskcalc-icon_64.png" width="64" height="64" />DeskCalc</h2>
<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><br /></p>
<p>DeskCalc is a simple calculator that nevertheless has some nice features that aren't apparent on first sight.</p>
2012-11-16 01:36:54 +04:00
<img src="../images/apps-images/deskcalc.png" alt="deskcalc.png" />
<ul>
<li><p>DeskCalc understands much more than its simple keypad suggests.<br />
2013-02-18 00:51:59 +04:00
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>!</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>
<li><p>Right-clicking offers these options:</p>
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
2013-02-18 00:51:59 +04:00
<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>
<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>
<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>
<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>
<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>
</table></li>
2013-02-18 00:51:59 +04:00
<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>
2017-11-26 13:14:46 +03:00
<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>
<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"></span> and <span class="key"></span>.</p></li>
2017-11-26 13:14:46 +03:00
<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 />
2017-11-26 13:14:46 +03:00
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">~&gt; DeskCalc "sin(45)*(cos(12)+3.45)"
2013-02-18 00:51:59 +04:00
3.65365546732025461817951947270058</pre>
<p>Note: Used in the Terminal, DeskCalc will always use radians as unit for these trigonometric functions.</p></li>
</ul>
</div>
</div>
<div class="nav">
<div class="inner"><span>
2015-02-23 20:29:44 +03:00
« <a href="debugger.html">Debugger</a>
:: <a href="../applications.html#list-of-apps" class="uplink">Applications</a>
:: <a href="diskprobe.html">DiskProbe</a> »
</span></div>
</div>
</body>
</html>