diff options
Diffstat (limited to 'source/text/sbasic/shared/03170000.xhp')
-rw-r--r-- | source/text/sbasic/shared/03170000.xhp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text/sbasic/shared/03170000.xhp b/source/text/sbasic/shared/03170000.xhp index 12f39aa4b1..9a20d0d66d 100644 --- a/source/text/sbasic/shared/03170000.xhp +++ b/source/text/sbasic/shared/03170000.xhp @@ -30,11 +30,11 @@ <bookmark xml-lang="en-US" branch="index" id="bm_id3150499"> <bookmark_value>Round function (VBA)</bookmark_value> </bookmark> - <h1 id="hd_id3150499"><variable id="Round_VBA_h1"><link href="text/sbasic/shared/03170000.xhp" name="Round Function [VBA]">Round Function [VBA]</link></variable></h1> + <h1 id="hd_id3150499"><variable id="Round_VBA_h1"><link href="text/sbasic/shared/03170000.xhp">Round Function [VBA]</link></variable></h1> <paragraph id="par_id3151384" role="paragraph">Rounds a numeric value to a specified number of decimal digits.</paragraph> </section> <embed href="text/sbasic/shared/00000003.xhp#vbasupport"/> - <paragraph role="paragraph" id="par_id741634154499890">This function implements the rounding rule known as "round-to-even". With this rule, whenever the difference between the number to be rounded and its nearest integer is equal to 0.5, the number is rounded to the nearest even number. See the examples <link href="text/sbasic/shared/03170000.xhp#round_example" name="round_ex_link">below</link> to learn more about this rule.</paragraph> + <paragraph role="paragraph" id="par_id741634154499890">This function implements the rounding rule known as "round-to-even". With this rule, whenever the difference between the number to be rounded and its nearest integer is equal to 0.5, the number is rounded to the nearest even number. See the examples <link href="text/sbasic/shared/03170000.xhp#round_example">below</link> to learn more about this rule.</paragraph> <note id="par_id691634217736290">Be aware that VBA's <literal>Round</literal> function works differently than %PRODUCTNAME Calc's <literal>Round</literal> function. In Calc, if the difference between the number to be rounded and the nearest integer is exactly 0.5, then the number is rounded up. Hence, in Calc the number 2.5 is rounded to 3 whereas using VBA's <literal>Round</literal> function the value 2.5 is rounded to 2 due to the "round-to-even" rule.</note> <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <paragraph role="paragraph" localize="false" id="par_id141634153766945"> |