From 68c52a06cf89d374fd8d46a5d5f78bd3d4a0cb9a Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Wed, 6 Apr 2022 09:08:00 -0300 Subject: tdf#131382 Scope of functions LOG and ASC Change the heading to indicate BASIC function and not a Calc function Change-Id: I8dae4b7baf64b42dfa156b6dde8039baa6ac3058 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132629 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- source/text/sbasic/shared/03080202.xhp | 17 +++++++---------- source/text/sbasic/shared/03120101.xhp | 3 +-- 2 files changed, 8 insertions(+), 12 deletions(-) (limited to 'source') diff --git a/source/text/sbasic/shared/03080202.xhp b/source/text/sbasic/shared/03080202.xhp index c46ffefd58..b1a3125631 100644 --- a/source/text/sbasic/shared/03080202.xhp +++ b/source/text/sbasic/shared/03080202.xhp @@ -27,34 +27,32 @@ -
Log function - -Log Function +

Log Function (BASIC)

Returns the natural logarithm of a number.
-Syntax: + Log (Number) -Return value: + Double -Parameters: + Number: Any numeric expression that you want to calculate the natural logarithm for. The natural logarithm is the logarithm to the base e. Base e is a constant with an approximate value of 2.718282... You can calculate logarithms to any base (n) for any number (x) by dividing the natural logarithm of x by the natural logarithm of n, as follows: -Log n(x) = Log(x) / Log(n) +Logn(x) = Log(x) / Log(n) -Example: + Sub ExampleLogExp Dim a As Double @@ -65,5 +63,4 @@ End Sub - - \ No newline at end of file + diff --git a/source/text/sbasic/shared/03120101.xhp b/source/text/sbasic/shared/03120101.xhp index c70702fe29..deb1b1bafe 100644 --- a/source/text/sbasic/shared/03120101.xhp +++ b/source/text/sbasic/shared/03120101.xhp @@ -27,13 +27,12 @@ -
Asc function -

Asc Function

+

Asc Function (BASIC)

Returns the ASCII (American Standard Code for Information Interchange) value of the first character in a string expression.
-- cgit