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

102 lines
6.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>
<!--
*
* Copyright 2009, Haiku. All rights reserved.
* 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" />
<title>计算器</title>
<link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
</head>
<body>
<div id="banner">
<div><span>用户指南</span></div>
</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>
<li><a href="../../sv_SE/applications/deskcalc.html"><img src="../../images/flags/sv_SE.png" alt="" />Svenska</a></li>
<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>
<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>
<li><a href="../../en/applications/deskcalc.html"><img src="../../images/flags/gb.png" alt="" />English</a></li>
</ul>
<span>
« <a href="codycam.html">摄像头</a>
:: <a href="../applications.html#list-of-apps" class="uplink">应用程序</a>
:: <a href="diskprobe.html">磁盘扫描器</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" />计算器</h2>
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
<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>
</table>
<p><br /></p>
<p>这是一个简单的计算器,但是它有一些隐藏的非常好用的特性。</p>
<img src="../../images/apps-images/deskcalc.png" alt="deskcalc.png" />
<ul>
<li><p>计算器不仅仅能够识别出面板键盘上的输入符号。<br />
除了 <tt>+</tt> <tt>-</tt> <tt>*</tt> <tt>/</tt> <tt>%</tt> <tt>^</tt> 和常量 <tt>pi</tt><tt>e</tt> ,它还支持下面的数学函数:<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>对于用户输入,计算器是非常宽容的。<br />
<tt>/</tt> <tt>:</tt> <tt>\</tt> 都被认为是除法操作符。<br />
<tt>*</tt> <tt>x</tt> 都是有效的乘法操作符。<br />
而且,需要注意的是 <tt>.</tt><tt>,</tt> 都被认为是浮点数的小数点,这也就意味着您不能够把它们用作千分符。</p></li>
<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>
<tr><td><span class="menu">Show Keypad</span></td><td></td><td>在计算器停止活动时,隐藏键盘面板。</td></tr>
</table></li>
<li><p>您可以根据自己的需要对计算器的大小进行调节,然后通过拖拽窗口右下角符号将其放置在桌面上作为 <a href="../gui.html#replicants">Replicant</a> 。但是您必须保证 桌面栏中的 <span class="menu">Show Replicants</span> 处于激活状态。</p></li>
<li><p>键盘面板可以通过选色板来添加颜色,例如: <span class="app">Icon-O-Matic</span></p></li>
<li><p>您可以使用 <span class="key"></span><span class="key"></span> 键来查看计算器的历史计算内容。</p></li>
<li><p>您可以选择计算器中的内容然后可以将其拖拽到任何的程序。或者您可以将它拖拽到tracker窗口或者桌面那么将会在那儿创建一个具有给内容的文本文件。</p>
<p>更有意思的是,您也可以执行相反的操作:<br />
依据上面的方法创建一个描述了您的计算步骤的剪报,然后将它们拖拽到计算器中进行运算。<br />
或者您也可以直接从邮件中拖拽一个计算表达式到计算其中进行运算。</p></li>
<li><p>该软件也可以在终端中进行使用。只需要把表达式放在双引号之间即可,如下所示:</p>
<pre class="terminal">~&gt; DeskCalc "sin(45)*(cos(12)+3.45)"
3.6536554673202546181795194727005826674359494735820338441084848</pre></li>
</ul>
</div>
</div>
<div class="nav">
<div class="inner"><span>
« <a href="codycam.html">摄像头</a>
:: <a href="../applications.html#list-of-apps" class="uplink">应用程序</a>
:: <a href="diskprobe.html">磁盘扫描器</a> »
</span></div>
</div>
</body>
</html>