From 0e111bb23b38dc6c1f8e2ddecbcf8baed6c9a877 Mon Sep 17 00:00:00 2001 From: Stanislav Horacek Date: Wed, 1 Dec 2021 21:38:46 +0100 Subject: 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 (cherry picked from commit 676c20ccd9f5cb6e3fd9d882e39a02028c1f0340) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126302 Reviewed-by: Adolfo Jayme Barrientos --- source/text/sbasic/shared/03080103.xhp | 4 ++-- source/text/sbasic/shared/03080104.xhp | 4 ++-- 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 @@ Number: Numeric expression that defines the angle in radians that you want to calculate the sine for. To convert degrees to radians, multiply degrees by Pi/180, and to convert radians to degrees, multiply radians by 180/Pi. -grad=(radiant*180)/Pi -radiant=(grad*Pi)/180 +degrees=(radians*180)/Pi +radians=(degrees*Pi)/180 Pi is approximately 3.141593. 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 @@ Number: Any numeric expression that you want to calculate the tangent for (in radians). To convert degrees to radians, multiply by Pi/180. To convert radians to degrees, multiply by 180/Pi. -degrees=(radiant*180)/Pi -radiant=(degrees*Pi)/180 +degrees=(radians*180)/Pi +radians=(degrees*Pi)/180 Pi is approximately 3.141593. -- cgit v1.2.3