From d2e055fb50d07664c8b90456c07c2d39d49e62df Mon Sep 17 00:00:00 2001 From: Stanislav Horacek Date: Wed, 25 Jun 2014 21:09:15 +0200 Subject: fdo#63274 clarify hexadecimal argument in HEX2DEC and similar functions Change-Id: Ic8a4beb3f544be25706bd3f8c00beac150354fa8 Reviewed-on: https://gerrit.libreoffice.org/9906 Tested-by: Andras Timar Reviewed-by: Andras Timar --- source/text/scalc/01/04060115.xhp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/text') 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 @@ Syntax HEX2BIN(Number; Places) -Number 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. +Number 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. Places is the number of places to be output. Example -=HEX2BIN(64;8) returns 01100100. +=HEX2BIN("6a";8) returns 01101010.
HEX2DEC function @@ -269,10 +269,10 @@ Syntax HEX2DEC(Number) -Number 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. +Number 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. Example -=HEX2DEC(64) returns 100. +=HEX2DEC("6a") returns 106.
HEX2OCT function @@ -284,12 +284,12 @@ Syntax HEX2OCT(Number; Places) -Number 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. +Number 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. Places is the number of places to be output. Example -=HEX2OCT(64;4) returns 0144. +=HEX2OCT("6a";4) returns 0152.
-- cgit