summaryrefslogtreecommitdiff
path: root/source/text
diff options
context:
space:
mode:
authorStanislav Horacek <stanislav.horacek@gmail.com>2014-06-25 21:09:15 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-06-26 15:39:52 +0000
commitd2e055fb50d07664c8b90456c07c2d39d49e62df (patch)
tree41164ea89d96ef8a1ef34ce824218461f4a0f776 /source/text
parentcb00f782515e7a11796d7996e89073a4ecfdb3d7 (diff)
fdo#63274 clarify hexadecimal argument in HEX2DEC and similar functions
Change-Id: Ic8a4beb3f544be25706bd3f8c00beac150354fa8 Reviewed-on: https://gerrit.libreoffice.org/9906 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'source/text')
-rw-r--r--source/text/scalc/01/04060115.xhp12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/text/scalc/01/04060115.xhp b/source/text/scalc/01/04060115.xhp
index 0e2729051f..2c69e29fcd 100644
--- a/source/text/scalc/01/04060115.xhp
+++ b/source/text/scalc/01/04060115.xhp
@@ -252,12 +252,12 @@
<paragraph role="heading" id="hd_id3156117" xml-lang="en-US" level="3" l10n="U" oldref="81">Syntax</paragraph>
<paragraph role="code" id="par_id3155847" xml-lang="en-US" l10n="U" oldref="82">HEX2BIN(Number; Places)</paragraph>
<paragraph role="paragraph" id="par_id3152810" xml-lang="en-US" l10n="U" oldref="83">
-<emph>Number</emph> is a hexadecimal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
+<emph>Number</emph> is a hexadecimal number or a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
<paragraph role="paragraph" id="par_id3153758" xml-lang="en-US" l10n="U" oldref="84">
<emph>Places</emph> is the number of places to be output.</paragraph>
<paragraph role="heading" id="hd_id3154052" xml-lang="en-US" level="3" l10n="U" oldref="85">Example</paragraph>
<paragraph role="paragraph" id="par_id3156002" xml-lang="en-US" l10n="U" oldref="86">
-<item type="input">=HEX2BIN(64;8)</item> returns 01100100.</paragraph>
+<item type="input">=HEX2BIN("6a";8)</item> returns 01101010.</paragraph>
</section>
<section id="hex2dec">
<bookmark xml-lang="en-US" branch="index" id="bm_id3154742"><bookmark_value>HEX2DEC function</bookmark_value>
@@ -269,10 +269,10 @@
<paragraph role="heading" id="hd_id3143233" xml-lang="en-US" level="3" l10n="U" oldref="89">Syntax</paragraph>
<paragraph role="code" id="par_id3149293" xml-lang="en-US" l10n="U" oldref="90">HEX2DEC(Number)</paragraph>
<paragraph role="paragraph" id="par_id3159176" xml-lang="en-US" l10n="U" oldref="91">
-<emph>Number</emph> is a hexadecimal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
+<emph>Number</emph> is a hexadecimal number or a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
<paragraph role="heading" id="hd_id3154304" xml-lang="en-US" level="3" l10n="U" oldref="92">Example</paragraph>
<paragraph role="paragraph" id="par_id3146093" xml-lang="en-US" l10n="U" oldref="93">
-<item type="input">=HEX2DEC(64)</item> returns 100.</paragraph>
+<item type="input">=HEX2DEC("6a")</item> returns 106.</paragraph>
</section>
<section id="hex2oct">
<bookmark xml-lang="en-US" branch="index" id="bm_id3149750"><bookmark_value>HEX2OCT function</bookmark_value>
@@ -284,12 +284,12 @@
<paragraph role="heading" id="hd_id3145660" xml-lang="en-US" level="3" l10n="U" oldref="96">Syntax</paragraph>
<paragraph role="code" id="par_id3151170" xml-lang="en-US" l10n="U" oldref="97">HEX2OCT(Number; Places)</paragraph>
<paragraph role="paragraph" id="par_id3152795" xml-lang="en-US" l10n="U" oldref="98">
-<emph>Number</emph> is a hexadecimal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
+<emph>Number</emph> is a hexadecimal number or a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
<paragraph role="paragraph" id="par_id3149204" xml-lang="en-US" l10n="U" oldref="99">
<emph>Places</emph> is the number of places to be output.</paragraph>
<paragraph role="heading" id="hd_id3153901" xml-lang="en-US" level="3" l10n="U" oldref="100">Example</paragraph>
<paragraph role="paragraph" id="par_id3159341" xml-lang="en-US" l10n="U" oldref="101">
-<item type="input">=HEX2OCT(64;4)</item> returns 0144.</paragraph>
+<item type="input">=HEX2OCT("6a";4)</item> returns 0152.</paragraph>
</section>
</sort>
<section id="Section1">