RoundHalfEven(PeterO.Numbers.EDecimal)
Method (no overloads)
Summary
Remarks
Distinct from Round(PeterO.Numbers.EDecimal) just above, which is half up and is what the numeric helpers around it want. The two disagree at every tie:
half up sends 5/2 to 3, half to even sends it to 2. Python, SymPy, Mathematica
and IEEE 754 all mean the latter by "round".
half up sends 5/2 to 3, half to even sends it to 2. Python, SymPy, Mathematica
and IEEE 754 all mean the latter by "round".
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6018 pages online