[gnome-calculator] Update number base documentation.
- From: Baptiste Mille-Mathias <baptistem src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Update number base documentation.
- Date: Thu, 30 Jan 2014 11:54:10 +0000 (UTC)
commit 5c987ab5069f9fe5615e51cd9b2e4fed28f02014
Author: PioneerAxon <arth svnit gmail com>
Date: Wed Dec 18 19:50:44 2013 +0530
Update number base documentation.
Add documentation for conversion using "in" operator.
Remove outdated settings entries.
Edited somehow to add some markups (Baptiste)
https://bugzilla.gnome.org/show_bug.cgi?id=720677
help/C/base.page | 6 +++---
help/C/conv-base.page | 19 ++++++++++++++++++-
help/C/number-display.page | 24 ++++++++----------------
3 files changed, 29 insertions(+), 20 deletions(-)
---
diff --git a/help/C/base.page b/help/C/base.page
index da06928..54fa1f9 100644
--- a/help/C/base.page
+++ b/help/C/base.page
@@ -27,12 +27,12 @@
</p>
</example>
<p>
- When in <link xref="mouse">programming mode</link> there are buttons for binary
(<keyseq><key>Ctrl</key><key>B</key></keyseq>), octal (<keyseq><key>Ctrl</key><key>O</key></keyseq>) and
hexadecimal (<keyseq><key>Ctrl</key><key>H</key></keyseq>).
+ When in <link xref="mouse">programming mode</link>, use the drop-down menu to change the base of the
calculation.
</p>
<p>
- To set the base that results are shown in change the <link xref="number-display">result format</link>.
+ Keyboard shortcuts can be used to switch to <gui>Binary</gui>
(<keyseq><key>Ctrl</key><key>B</key></keyseq>), <gui>Octal</gui>
(<keyseq><key>Ctrl</key><key>O</key></keyseq>), <gui>Decimal</gui>
(<keyseq><key>Ctrl</key><key>D</key></keyseq>) and <gui>Hexadecilal</gui>
(<keyseq><key>Ctrl</key><key>H</key></keyseq>) modes.
</p>
<p>
- To change the base of the current result use a base button or
<keyseq><key>Ctrl</key><key>D</key></keyseq> to show in decimal form.
+ To convert numbers to other base on the fly, <link xref="conv-base">Number Base conversion</link> can be
used.
</p>
</page>
diff --git a/help/C/conv-base.page b/help/C/conv-base.page
index 1917d42..0d1171b 100644
--- a/help/C/conv-base.page
+++ b/help/C/conv-base.page
@@ -9,6 +9,23 @@
<title>Number Bases</title>
<p>
- To convert between number bases enter a number (or solve an equation) and change the <link
xref="number-display">result format</link> from the
<guiseq><gui>Calculator</gui><gui>Preferences</gui></guiseq> menu.
+ To convert the number to a different base representation use the <em>in</em> operator.
</p>
+ <example>
+ <p>
+ 12 in hex
+ </p>
+ <p>
+ 5 in binary
+ </p>
+ <p>
+ 1A₁₆ in dec
+ </p>
+ <p>
+ 1010₂ in octal
+ </p>
+ </example>
+ <note>
+ <p>Number Base conversions must be performed using the keyboard.</p>
+ </note>
</page>
diff --git a/help/C/number-display.page b/help/C/number-display.page
index 9d3a377..2712efb 100644
--- a/help/C/number-display.page
+++ b/help/C/number-display.page
@@ -13,28 +13,20 @@
</p>
<table>
<tr>
- <td><p>Decimal</p></td>
- <td><p>Results are displayed as decimal numbers</p></td>
+ <td><p><gui>Automatic</gui></p></td>
+ <td><p>Small results are displayed as <gui>Fixed</gui> notation while long results are displayed as
<gui>Scientific</gui> notation</p></td>
</tr>
<tr>
- <td><p>Scientific</p></td>
- <td><p>Results are displayed in <link xref="scientific">scientific notation</link></p></td>
- </tr>
- <tr>
- <td><p>Engineering</p></td>
- <td><p>Results are displayed in scientific notation except the exponent is always a multiple of
three</p></td>
+ <td><p><gui>Fixed</gui></p></td>
+ <td><p>Results are always displayed as decimal numbers</p></td>
</tr>
<tr>
- <td><p>Binary</p></td>
- <td><p>Results are displayed as <link xref="base">binary numbers</link></p></td>
- </tr>
- <tr>
- <td><p>Octal</p></td>
- <td><p>Results are displayed as <link xref="base">octal numbers</link></p></td>
+ <td><p><gui>Scientific</gui></p></td>
+ <td><p>Results are displayed in <link xref="scientific">scientific notation</link></p></td>
</tr>
<tr>
- <td><p>Hexadecimal</p></td>
- <td><p>Results are displayed as <link xref="base">hexadecimal numbers</link></p></td>
+ <td><p><gui>Engineering</gui></p></td>
+ <td><p>Results are displayed in scientific notation except the exponent is always a multiple of
three</p></td>
</tr>
</table>
<p>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]