Die Antwort von Erel dem Basic4ppc Autor
http://www.b4x.com/forum/showthread.php?t=1159
Basic4ppc uses the .Net Framework Round function.
Here is a quote from .Net documentation that explains this behavior:
Quote:
Return Value
The whole number nearest a. If a is halfway between two whole numbers, one of which by definition is even and the other odd, then the even number is returned.
Remarks
The behavior of this method follows IEEE Standard 754, section 4. This kind of rounding is sometimes called rounding to nearest, or banker's rounding.
Basic4ppc nützt die .Net Round Funktion
Die .Net Unterlagen beschreiben die Funktion wie folgend:
Der zurückgegebener Wert ist die ganze der am nähesten ist, wenn zwei zahlen gleich nahe sind gibt es eine gerade und eine ungerade Zahl, die gerade Zahl wird zurückgegeben.
Dies entspricht der IEEE 754 Norm.
Klaus