bankárkerekítés
Bankárkerekítés, also known as banker's rounding or engineer's rounding, is a method of rounding numbers that is often used in financial and scientific contexts. Unlike the more commonly taught round-half-up method, which rounds .5 up to the next whole number, banker's rounding rounds .5 to the nearest even number. For example, if rounding to the nearest integer, 2.5 would round to 2, and 3.5 would round to 4.
This rounding method aims to reduce bias in rounding over a large set of numbers. When rounding
The method is employed in many computer systems and programming languages by default for floating-point arithmetic.
---