source/text/sbasic/shared/03070700.xhp |   17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

New commits:
commit 3994c9e899323a85d4db4f9264f5dda8aae5b92b
Author:     Alain Romedenne <libreoffici...@gerrit.libreoffice.org>
AuthorDate: Fri Feb 4 13:13:28 2022 +0100
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sat Feb 12 09:57:34 2022 +0100

    tdf#146847 (\) Integer Division operator help page
    
    Change-Id: I43e82fd2038a8f557c1fcefebd1beadb2bda7184
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129432
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/source/text/sbasic/shared/03070700.xhp 
b/source/text/sbasic/shared/03070700.xhp
index 6ab624eaa..64e4ba2c1 100644
--- a/source/text/sbasic/shared/03070700.xhp
+++ b/source/text/sbasic/shared/03070700.xhp
@@ -7,15 +7,6 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
 
 <meta>
@@ -43,15 +34,13 @@
 <embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
 <paragraph id="par_id3154141" role="paragraph" xml-lang="en-US"> 
<emph>result</emph>: A numerical value that contains the result of the integer 
division.</paragraph>
 <paragraph id="par_id3150448" role="paragraph"> <emph>expression1, 
expression2</emph>: Dividend and diviser operands of the integer 
division.</paragraph>
-<paragraph role="paragraph" id="par_id951642689912087">Before integer 
division, both operands are rounded to the nearest integer down. The fractional 
part of the result is dropped.</paragraph>
+<paragraph role="paragraph" id="par_id951642689912087">Before division both 
operands are rounded to whole numbers. The fractional part of the result is 
dropped.</paragraph>
 
 <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
 <bascode>
 <paragraph id="par_idm1341473008" role="bascode" localize="false">Sub 
IntegerDivision</paragraph>
-<paragraph id="par_idm1341471776" role="bascode" xml-lang="en-US">    Print 15 
/ 4      ' prints 3.75</paragraph>
-<paragraph id="par_idm1341471777" role="bascode" xml-lang="en-US">    Print 
-15 \ 4     ' prints -3</paragraph>
-<paragraph id="par_idm1341471778" role="bascode" xml-lang="en-US">    Print 
16.9 / 5.6  ' prints 3.017857114</paragraph>
-<paragraph id="par_idm1341471779" role="bascode" xml-lang="en-US">    Print 
16.9 \ -5.6 ' prints -3</paragraph>
+<paragraph id="par_idm1341471776" role="bascode" xml-lang="en-US">    Print 5 
\ 4 , 5 / 4   ' 1 , 1.25</paragraph>
+<paragraph id="par_idm1341471777" role="bascode" xml-lang="en-US">    Print 7 
\ 4 , 7 / 4   ' 1 , 1.75</paragraph>
 <paragraph id="par_idm1341470544" role="bascode" localize="false">End 
Sub</paragraph>
 </bascode>
 

Reply via email to