[Libreoffice-commits] help.git: source/text
Olivier Hallot (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 17 12:18:47 UTC 2021
source/text/scalc/01/04060199.xhp | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)
New commits:
commit 21d0197b3705212a22b9e221ac1f624049516d9a
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Wed Jun 16 15:50:54 2021 -0300
Commit: Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Thu Jun 17 14:18:26 2021 +0200
tdf#114930 Clarify associativity and precedence of operators to the help
Change-Id: Ib55f0901235c082e88b49d1526b1123cd036f875
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/117347
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
diff --git a/source/text/scalc/01/04060199.xhp b/source/text/scalc/01/04060199.xhp
index 5ad22dbed..d871b8bf2 100644
--- a/source/text/scalc/01/04060199.xhp
+++ b/source/text/scalc/01/04060199.xhp
@@ -58,7 +58,7 @@
<paragraph role="tablecontent" id="par_id3150892" xml-lang="en-US">Addition</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3153247" xml-lang="en-US">1+1</paragraph>
+<paragraph role="tablecontent" id="par_id3153247" localize="false" xml-lang="en-US">1+1</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -69,7 +69,7 @@
<paragraph role="tablecontent" id="par_id3145362" xml-lang="en-US">Subtraction</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3153554" xml-lang="en-US">2-1</paragraph>
+<paragraph role="tablecontent" id="par_id3153554" localize="false" xml-lang="en-US">2-1</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -80,7 +80,7 @@
<paragraph role="tablecontent" id="par_id3151193" xml-lang="en-US">Negation</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3154712" xml-lang="en-US">-5</paragraph>
+<paragraph role="tablecontent" id="par_id3154712" localize="false" xml-lang="en-US">-5</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -91,7 +91,7 @@
<paragraph role="tablecontent" id="par_id3147504" xml-lang="en-US">Multiplication</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3149055" xml-lang="en-US">2*2</paragraph>
+<paragraph role="tablecontent" id="par_id3149055" localize="false" xml-lang="en-US">2*2</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -102,7 +102,7 @@
<paragraph role="tablecontent" id="par_id3159260" xml-lang="en-US">Division</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3153027" xml-lang="en-US">9/3</paragraph>
+<paragraph role="tablecontent" id="par_id3153027" localize="false" xml-lang="en-US">9/3</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -113,7 +113,7 @@
<paragraph role="tablecontent" id="par_id3150372" xml-lang="en-US">Percent</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3145632" xml-lang="en-US">15%</paragraph>
+<paragraph role="tablecontent" id="par_id3145632" localize="false" xml-lang="en-US">15%</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -124,10 +124,13 @@
<paragraph role="tablecontent" id="par_id3159127" xml-lang="en-US">Exponentiation</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3157873" xml-lang="en-US">3^2</paragraph>
+<paragraph role="tablecontent" id="par_id3157873" localize="false" xml-lang="en-US">3^2</paragraph>
</tablecell>
</tablerow>
</table>
+
+<note id="par_id881623862728559">Prefix "-" (negation) has a higher precedence than "^" (exponentiaton). For example -3^2 equals 9, which is the square of a negative number.</note>
+
<h2 id="hd_id3152981">Comparative operators</h2>
<paragraph role="paragraph" id="par_id3157902" xml-lang="en-US">These operators return either true or false.</paragraph>
<table id="tbl_id3148725">
@@ -150,7 +153,7 @@
<paragraph role="tablecontent" id="par_id3154845" xml-lang="en-US">Equal</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3154546" xml-lang="en-US">A1=B1</paragraph>
+<paragraph role="tablecontent" id="par_id3154546" localize="false" xml-lang="en-US">A1=B1</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -161,7 +164,7 @@
<paragraph role="tablecontent" id="par_id3148580" xml-lang="en-US">Greater than</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3145138" xml-lang="en-US">A1>B1</paragraph>
+<paragraph role="tablecontent" id="par_id3145138" localize="false" xml-lang="en-US">A1>B1</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -172,7 +175,7 @@
<paragraph role="tablecontent" id="par_id3150145" xml-lang="en-US">Less than</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3150901" xml-lang="en-US">A1<B1</paragraph>
+<paragraph role="tablecontent" id="par_id3150901" localize="false" xml-lang="en-US">A1<B1</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -183,7 +186,7 @@
<paragraph role="tablecontent" id="par_id3150866" xml-lang="en-US">Greater than or equal to</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3153111" xml-lang="en-US">A1>=B1</paragraph>
+<paragraph role="tablecontent" id="par_id3153111" localize="false" xml-lang="en-US">A1>=B1</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -194,7 +197,7 @@
<paragraph role="tablecontent" id="par_id3150335" xml-lang="en-US">Less than or equal to</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3148760" xml-lang="en-US">A1<=B1</paragraph>
+<paragraph role="tablecontent" id="par_id3148760" localize="false" xml-lang="en-US">A1<=B1</paragraph>
</tablecell>
</tablerow>
<tablerow>
@@ -205,7 +208,7 @@
<paragraph role="tablecontent" id="par_id3150019" xml-lang="en-US">Inequality</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3149878" xml-lang="en-US">A1<>B1</paragraph>
+<paragraph role="tablecontent" id="par_id3149878" localize="false" xml-lang="en-US">A1<>B1</paragraph>
</tablecell>
</tablerow>
</table>
@@ -260,7 +263,7 @@
<paragraph role="tablecontent" id="par_id3153924" xml-lang="en-US">Range</paragraph>
</tablecell>
<tablecell>
-<paragraph role="tablecontent" id="par_id3148432" xml-lang="en-US">A1:C108</paragraph>
+<paragraph role="tablecontent" id="par_id3148432" localize="false" xml-lang="en-US">A1:C108</paragraph>
</tablecell>
</tablerow>
<tablerow>
More information about the Libreoffice-commits
mailing list