source/text/sbasic/shared/03080103.xhp | 4 ++-- source/text/sbasic/shared/03080104.xhp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit 676c20ccd9f5cb6e3fd9d882e39a02028c1f0340 Author: Stanislav Horacek <stanislav.hora...@gmail.com> AuthorDate: Wed Dec 1 21:38:46 2021 +0100 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Sat Dec 4 11:05:26 2021 +0100 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.hal...@libreoffice.org> diff --git a/source/text/sbasic/shared/03080103.xhp b/source/text/sbasic/shared/03080103.xhp index ff9790003..850473b51 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 194fa0901..ed755f018 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"/>