Page 1 of 1

Outdated information in www.access2base.com?

PostPosted: Wed Jan 02, 2019 6:31 pm
by Rorschach
Dear Sirs,

In http://www.access2base.com/basedocument ... html#00239 we can see:

Code: Select all   Expand viewCollapse view
Function BankersRound(ByRef pDecimals As Integer)
'Rounds pValue to pDecimals using the “bankers rounding”: rounding to the nearest even number.
'Rounds a value to a given number of decimals using the “bankers rounding”, that is rounding to the nearest even number.
'Input:
'-- pValue: the value to round.
'-- pDecimals: the number of decimals for the rounding.
'Output: The rounded number.
'Usage
'BankersRound(1,5, 0) -> 2
'BankersRound(2,5, 0) -> 2
[...]

but it looks like it's not correct, there it's talked about two parameters (pValue and pDecimals) although only one is seen in the function name. But instead, In https://wiki.documentfoundation.org/ima ... s_v0af.odt we can see
Code: Select all   Expand viewCollapse view
Function BankersRound(ByRef pValue As Double, pDecimals As Integer) As Double
Rounds a value to a given number of decimals using the “bankers rounding”, that is rounding to the nearest even number.
Input
    • pValue: the value to round.
    • pDecimals: the number of decimals for the rounding.
Output
The rounded number.
Usage
BankersRound(1.5, 0) → 2
BankersRound(2.5, 0) → 2
See also Round().
which makes sense. The same happens with `(1,5, 0)` which is a correct `(1.5, 0)` in the second web page.

Thanks. It seems that there's outdated information in http://www.access2base.com?

Re: Outdated information in www.access2base.com?

PostPosted: Thu Jan 03, 2019 2:09 am
by MrProgrammer
Hi, and welcome to the forum.

Open that link. Near the top you will find the name and contact information for the developer of that extension. Contact them directly, since they may not see your post here. No one in this forum can help you with updates to documentation at http://www.access2base.com.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.

Re: Outdated information in www.access2base.com?

PostPosted: Thu Jan 03, 2019 12:41 pm
by Rorschach
Thanks, Mr. Programmer.

> Near the top you will find the name and contact information for the developer of that extension.

It looks like that person has no problem. The problem is in http://www.access2base.com

> No one in this forum can help you with updates to documentation at http://www.access2base.com.

In http://www.access2base.com there's a "contact link" where it says that "if your request is of public interest, post it on the OpenOffice Community forum". Now I have posted this report again but in viewtopic.php?f=47&t=61447&p=461132#p461132