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">
|
2017-10-01 14:21:40 +03:00
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN" xml:lang="zh-CN">
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<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:
|
2017-11-26 13:14:46 +03:00
|
|
|
|
* Humdinger
|
2018-09-26 08:46:30 +03:00
|
|
|
|
* Pengphei Han
|
2010-07-08 22:03:41 +04:00
|
|
|
|
*
|
|
|
|
|
-->
|
|
|
|
|
<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>
|
2017-10-01 14:21:40 +03:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div id="banner">
|
2018-09-26 08:46:30 +03: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>
|
2017-06-24 01:19:23 +03: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="../../de/applications/deskcalc.html"><img src="../../images/flags/de.png" alt="" />Deutsch</a></li>
|
2017-06-24 01:19:23 +03:00
|
|
|
|
<li><a href="../../en/applications/deskcalc.html"><img src="../../images/flags/gb.png" alt="" />English</a></li>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
<li><a href="../../es/applications/deskcalc.html"><img src="../../images/flags/es.png" alt="" />Español</a></li>
|
2017-06-24 01:19:23 +03:00
|
|
|
|
<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>
|
2017-06-24 01:19:23 +03:00
|
|
|
|
<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>
|
2016-05-06 05:15:13 +03:00
|
|
|
|
<li><a href="../../ro/applications/deskcalc.html"><img src="../../images/flags/ro.png" alt="" />Română</a></li>
|
2017-06-24 01:19:23 +03:00
|
|
|
|
<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="../../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>
|
2010-07-08 22:03:41 +04:00
|
|
|
|
</ul>
|
|
|
|
|
<span>
|
2017-04-15 23:38:49 +03:00
|
|
|
|
« <a href="debugger.html">调试器(Debugger)</a>
|
2013-02-18 00:51:59 +04:00
|
|
|
|
:: <a href="../applications.html#list-of-apps" class="uplink">应用程序
|
|
|
|
|
</a>
|
2018-09-26 08:46:30 +03: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">
|
2018-09-26 08:46:30 +03:00
|
|
|
|
<tr><td>桌面栏:</td><td style="width:15px;"></td><td><span class="menu">应用程序</span></td></tr>
|
|
|
|
|
<tr><td>位置:</td><td></td><td><span class="path">/boot/system/apps/DeskCalc</span></td></tr>
|
|
|
|
|
<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 />
|
2018-09-26 08:46:30 +03:00
|
|
|
|
<tt>/</tt>, <tt>:</tt>, <tt>\\</tt> 都被认为是除法操作符。<br />
|
2013-02-18 00:51:59 +04:00
|
|
|
|
<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>
|
2017-04-15 23:38:49 +03:00
|
|
|
|
« <a href="debugger.html">调试器(Debugger)</a>
|
2013-02-18 00:51:59 +04:00
|
|
|
|
:: <a href="../applications.html#list-of-apps" class="uplink">应用程序
|
|
|
|
|
</a>
|
2018-09-26 08:46:30 +03:00
|
|
|
|
:: <a href="diskprobe.html">磁盘扫描器</a> »
|
2010-07-08 22:03:41 +04:00
|
|
|
|
</span></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|