summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Horacek <stanislav.horacek@gmail.com>2021-12-01 21:38:46 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2021-12-06 04:41:00 +0100
commit0e111bb23b38dc6c1f8e2ddecbcf8baed6c9a877 (patch)
treefb5578444b5e13ec27f852d83e103ab6eb5595a7
parent18df2a92e4a63ca68e8479051d58d678daf70917 (diff)
use proper angle units in Cos and Sin description
Change-Id: I318e1a20ee220fc306f2f4af2e61cc5c1b7237b0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126205 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 676c20ccd9f5cb6e3fd9d882e39a02028c1f0340) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126302 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--source/text/sbasic/shared/03080103.xhp4
-rw-r--r--source/text/sbasic/shared/03080104.xhp4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/text/sbasic/shared/03080103.xhp b/source/text/sbasic/shared/03080103.xhp
index ff97900031..850473b513 100644
--- a/source/text/sbasic/shared/03080103.xhp
+++ b/source/text/sbasic/shared/03080103.xhp
@@ -51,8 +51,8 @@
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3145786" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Numeric expression that defines the angle in radians that you want to calculate the sine for.</paragraph>
<paragraph id="par_id3155413" role="paragraph" xml-lang="en-US">To convert degrees to radians, multiply degrees by <literal>Pi</literal>/180, and to convert radians to degrees, multiply radians by 180/<literal>Pi</literal>.</paragraph>
-<paragraph id="par_id3149664" role="paragraph" xml-lang="en-US">grad=(radiant*180)/<literal>Pi</literal></paragraph>
-<paragraph id="par_id3153143" role="paragraph" xml-lang="en-US">radiant=(grad*<literal>Pi</literal>)/180</paragraph>
+<paragraph id="par_id3149664" role="paragraph" xml-lang="en-US">degrees=(radians*180)/<literal>Pi</literal></paragraph>
+<paragraph id="par_id3153143" role="paragraph" xml-lang="en-US">radians=(degrees*<literal>Pi</literal>)/180</paragraph>
<paragraph id="par_id3151112" role="paragraph" xml-lang="en-US"><literal>Pi</literal> is approximately 3.141593.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
diff --git a/source/text/sbasic/shared/03080104.xhp b/source/text/sbasic/shared/03080104.xhp
index 194fa0901b..ed755f018c 100644
--- a/source/text/sbasic/shared/03080104.xhp
+++ b/source/text/sbasic/shared/03080104.xhp
@@ -51,8 +51,8 @@
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3145786" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to calculate the tangent for (in radians).</paragraph>
<paragraph id="par_id3153728" role="paragraph" xml-lang="en-US">To convert degrees to radians, multiply by <literal>Pi</literal>/180. To convert radians to degrees, multiply by 180/<literal>Pi</literal>.</paragraph>
-<paragraph id="par_id3155414" role="paragraph" xml-lang="en-US">degrees=(radiant*180)/<literal>Pi</literal></paragraph>
-<paragraph id="par_id3146975" role="paragraph" xml-lang="en-US">radiant=(degrees*<literal>Pi</literal>)/180</paragraph>
+<paragraph id="par_id3155414" role="paragraph" xml-lang="en-US">degrees=(radians*180)/<literal>Pi</literal></paragraph>
+<paragraph id="par_id3146975" role="paragraph" xml-lang="en-US">radians=(degrees*<literal>Pi</literal>)/180</paragraph>
<paragraph id="par_id3147434" role="paragraph" xml-lang="en-US"><literal>Pi</literal> is approximately 3.141593.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>