diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-04-06 09:08:00 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-04-06 14:17:42 +0200 |
commit | 68c52a06cf89d374fd8d46a5d5f78bd3d4a0cb9a (patch) | |
tree | c078409f3df82f4e83c8bc9a71941c45355995b7 | |
parent | 1e37e14da918a278abe5df8a5885fa211c02ee8b (diff) |
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 <olivier.hallot@libreoffice.org>
-rw-r--r-- | source/text/sbasic/shared/03080202.xhp | 17 | ||||
-rw-r--r-- | source/text/sbasic/shared/03120101.xhp | 3 |
2 files changed, 8 insertions, 12 deletions
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 @@ <body> - <section id="log"> <bookmark xml-lang="en-US" branch="index" id="bm_id3149416"> <bookmark_value>Log function</bookmark_value> </bookmark> - -<paragraph id="hd_id3149416" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03080202.xhp" name="Log Function">Log Function</link></paragraph> +<h1 id="hd_id3149416"><link href="text/sbasic/shared/03080202.xhp" name="Log Function">Log Function (BASIC)</link></h1> <paragraph id="par_id3145066" role="paragraph" xml-lang="en-US">Returns the natural logarithm of a number.</paragraph> </section> -<paragraph id="hd_id3159414" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <bascode> <paragraph id="par_id3154760" role="bascode" xml-lang="en-US">Log (Number)</paragraph> </bascode> -<paragraph id="hd_id3149457" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functvalue"/> <paragraph id="par_id3150791" localize="false" role="paragraph">Double</paragraph> -<paragraph id="hd_id3151211" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <paragraph id="par_id3151041" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to calculate the natural logarithm for.</paragraph> <paragraph id="par_id3150869" role="paragraph" xml-lang="en-US">The natural logarithm is the logarithm to the base e. Base e is a constant with an approximate value of 2.718282...</paragraph> <paragraph id="par_id3153968" role="paragraph" xml-lang="en-US">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:</paragraph> -<paragraph id="par_id3145420" role="paragraph" xml-lang="en-US">Log n(x) = Log(x) / Log(n)</paragraph> +<paragraph id="par_id3145420" role="paragraph" xml-lang="en-US">Log<sub>n</sub>(x) = Log(x) / Log(n)</paragraph> <embed href="text/sbasic/shared/00000003.xhp#errorcode"/> <embed href="text/sbasic/shared/00000003.xhp#err5"/> -<paragraph id="hd_id3155131" role="heading" level="2" xml-lang="en-US">Example:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functexample"/> <bascode> <paragraph id="par_idm1341571344" role="bascode" localize="false" xml-lang="en-US">Sub ExampleLogExp</paragraph> <paragraph id="par_idm1341570112" role="bascode" localize="false" xml-lang="en-US">Dim a As Double</paragraph> @@ -65,5 +63,4 @@ <paragraph id="par_idm1341563312" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> </body> - -</helpdocument>
\ No newline at end of file +</helpdocument> 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 @@ <body> - <section id="asc"> <bookmark xml-lang="en-US" branch="index" id="bm_id3150499"> <bookmark_value>Asc function</bookmark_value> </bookmark> -<h1 id="hd_id3150499"><variable id="Asc_h1"><link href="text/sbasic/shared/03120101.xhp" name="Asc Function">Asc Function</link></variable></h1> +<h1 id="hd_id3150499"><variable id="Asc_h1"><link href="text/sbasic/shared/03120101.xhp" name="Asc Function">Asc Function (BASIC)</link></variable></h1> <paragraph id="par_id3151384" role="paragraph">Returns the ASCII (American Standard Code for Information Interchange) value of the first character in a string expression.</paragraph> </section> |