2010-07-08 22:03:41 +04:00
|
|
|
|
<?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.
|
2010-07-08 22:03:41 +04:00
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
|
*
|
|
|
|
|
* Authors:
|
|
|
|
|
* Humdinger <humdingerb@gmail.com>
|
|
|
|
|
* Translators:
|
|
|
|
|
* Pengphei Han
|
|
|
|
|
*
|
|
|
|
|
-->
|
|
|
|
|
<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" />
|
2010-08-02 20:51:09 +04:00
|
|
|
|
<title>计算器</title>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div id="banner">
|
2010-08-02 20:51:09 +04:00
|
|
|
|
<div><span>用户指南</span></div>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="nav">
|
|
|
|
|
<div class="inner">
|
|
|
|
|
<ul class="lang-menu">
|
|
|
|
|
<li class="now"><img src="../../images/flags/zh_CN.png" alt="" /> 中文 [中文]</li>
|
|
|
|
|
<li><a href="../../fr/applications/deskcalc.html"><img src="../../images/flags/fr.png" alt="" />Français</a></li>
|
|
|
|
|
<li><a href="../../de/applications/deskcalc.html"><img src="../../images/flags/de.png" alt="" />Deutsch</a></li>
|
|
|
|
|
<li><a href="../../it/applications/deskcalc.html"><img src="../../images/flags/it.png" alt="" />Italiano</a></li>
|
|
|
|
|
<li><a href="../../ru/applications/deskcalc.html"><img src="../../images/flags/ru.png" alt="" />Русский</a></li>
|
|
|
|
|
<li><a href="../../es/applications/deskcalc.html"><img src="../../images/flags/es.png" alt="" />Español</a></li>
|
2011-05-22 22:01:43 +04:00
|
|
|
|
<li><a href="../../sv_SE/applications/deskcalc.html"><img src="../../images/flags/sv_SE.png" alt="" />Svenska</a></li>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<li><a href="../../jp/applications/deskcalc.html"><img src="../../images/flags/jp.png" alt="" />日本語</a></li>
|
|
|
|
|
<li><a href="../../uk/applications/deskcalc.html"><img src="../../images/flags/uk.png" alt="" />Українська</a></li>
|
|
|
|
|
<li><a href="../../pt_PT/applications/deskcalc.html"><img src="../../images/flags/pt_PT.png" alt="" />Português</a></li>
|
2011-12-04 00:12:53 +04:00
|
|
|
|
<li><a href="../../fi/applications/deskcalc.html"><img src="../../images/flags/fi.png" alt="" />Suomi</a></li>
|
|
|
|
|
<li><a href="../../sk/applications/deskcalc.html"><img src="../../images/flags/sk.png" alt="" />Slovenčina</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>
|
|
|
|
|
<li><a href="../../pt_BR/applications/deskcalc.html"><img src="../../images/flags/pt_BR.png" alt="" />Português (Brazil)</a></li>
|
2013-02-18 00:51:59 +04:00
|
|
|
|
<li><a href="../../ca/applications/deskcalc.html"><img src="../../images/flags/ca.png" alt="" />Català</a></li>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<li><a href="../../en/applications/deskcalc.html"><img src="../../images/flags/gb.png" alt="" />English</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<span>
|
2010-08-02 20:51:09 +04:00
|
|
|
|
« <a href="codycam.html">摄像头</a>
|
2013-02-18 00:51:59 +04:00
|
|
|
|
:: <a href="../applications.html#list-of-apps" class="uplink">应用程序
|
|
|
|
|
</a>
|
2010-08-02 20:51:09 +04:00
|
|
|
|
:: <a href="diskprobe.html">磁盘扫描器</a> »
|
2010-07-08 22:03:41 +04:00
|
|
|
|
</span></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
|
<div>
|
|
|
|
|
|
2010-08-02 20:51:09 +04:00
|
|
|
|
<h2><img src="../../images/apps-images/deskcalc-icon_64.png" alt="deskcalc-icon_64.png" width="64" height="64" />计算器</h2>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
|
2010-08-02 20:51:09 +04:00
|
|
|
|
<tr><td>桌面栏:</td><td style="width:15px;"></td><td><span class="menu">应用程序</span></td></tr>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<tr><td>位置:</td><td></td><td><span class="path">/boot/system/apps/DeskCalc</span></td></tr>
|
2010-12-30 22:10:45 +03:00
|
|
|
|
<tr><td>设置:</td><td></td><td><span class="path">~/config/settings/DeskCalc_settings</span></td></tr>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
</table>
|
|
|
|
|
<p><br /></p>
|
|
|
|
|
<p>这是一个简单的计算器,但是它有一些隐藏的非常好用的特性。</p>
|
2012-11-16 01:36:54 +04:00
|
|
|
|
<img src="../images/apps-images/deskcalc.png" alt="deskcalc.png" />
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<ul>
|
|
|
|
|
<li><p>计算器不仅仅能够识别出面板键盘上的输入符号。<br />
|
2013-02-18 00:51:59 +04:00
|
|
|
|
除了 <tt> </tt>, <tt>-</tt>, <tt>*</tt>, <tt>/</tt>, <tt>%</tt>, <tt>^</tt> 和常量 <tt>pi</tt> 与 <tt>e</tt> ,它还支持下面的数学函数:<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>
|
|
|
|
|
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<li><p>右键点击提供了以下选项:</p>
|
|
|
|
|
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
|
|
|
|
|
<tr><td><span class="menu">Enable Num Lock on start up</span></td><td style="width:15px;"></td><td>在启动计算器后,自动激活数字区域。</td></tr>
|
2013-02-18 00:51:59 +04:00
|
|
|
|
<tr><td colspan="2"><span class="menu">Radiants/Degrees</span></td><td></td><td>切换角度计算单位 "rad" 和 "deg" 。</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>隐藏了键盘的迷你显示模式。</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>桌面计算器的标准外观。</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>显示高级计算功能的额外按键。</td></tr>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
</table></li>
|
2013-02-18 00:51:59 +04:00
|
|
|
|
<li><p>对于用户输入,计算器是非常宽容的。<br />
|
|
|
|
|
<tt>/</tt>, <tt>:</tt>, <tt>\</tt> 都被认为是除法操作符。<br />
|
|
|
|
|
<tt>*</tt>, <tt>x</tt> 都是有效的乘法操作符。<br />
|
|
|
|
|
而且,需要注意的是 <tt>.</tt> 和 <tt>,</tt> 都被认为是浮点数的小数点,这也就意味着您不能够把它们用作千分符。</p></li>
|
2010-08-02 20:51:09 +04:00
|
|
|
|
<li><p>您可以根据自己的需要对计算器的大小进行调节,然后通过拖拽窗口右下角符号将其放置在桌面上作为 <a href="../gui.html#replicants">Replicant</a> 。但是您必须保证 桌面栏中的 <span class="menu">Show Replicants</span> 处于激活状态。</p></li>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<li><p>键盘面板可以通过选色板来添加颜色,例如: <span class="app">Icon-O-Matic</span>。</p></li>
|
|
|
|
|
<li><p>您可以使用 <span class="key">↑</span> 和 <span class="key">↓</span> 键来查看计算器的历史计算内容。</p></li>
|
2010-08-02 20:51:09 +04:00
|
|
|
|
<li><p>您可以选择计算器中的内容,然后可以将其拖拽到任何的程序。或者您可以将它拖拽到tracker窗口或者桌面,那么将会在那儿创建一个具有给内容的文本文件。</p>
|
|
|
|
|
<p>更有意思的是,您也可以执行相反的操作:<br />
|
|
|
|
|
依据上面的方法创建一个描述了您的计算步骤的剪报,然后将它们拖拽到计算器中进行运算。<br />
|
|
|
|
|
或者您也可以直接从邮件中拖拽一个计算表达式到计算其中进行运算。</p></li>
|
2013-02-18 00:51:59 +04:00
|
|
|
|
<li><p>DeskCalc 可以在终端中使用。只在其后双引号中输入如下内容:</p>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<pre class="terminal">~> DeskCalc "sin(45)*(cos(12)+3.45)"
|
2013-02-18 00:51:59 +04:00
|
|
|
|
3.65365546732025461817951947270058</pre>
|
|
|
|
|
<p>备注:在终端中使用时,桌面计算器需要使用圆括号来作为三角函数的计算单元。</p></li>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="nav">
|
|
|
|
|
<div class="inner"><span>
|
2010-08-02 20:51:09 +04:00
|
|
|
|
« <a href="codycam.html">摄像头</a>
|
2013-02-18 00:51:59 +04:00
|
|
|
|
:: <a href="../applications.html#list-of-apps" class="uplink">应用程序
|
|
|
|
|
</a>
|
2010-08-02 20:51:09 +04:00
|
|
|
|
:: <a href="diskprobe.html">磁盘扫描器</a> »
|
2010-07-08 22:03:41 +04:00
|
|
|
|
</span></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|