Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Banker's Rounding

  • Last UpdatedJul 18, 2023
  • 1 minute read

When you add rounded values together, always rounding .5 in the same direction results in a bias that grows with the more numbers you add together. One way to minimize the bias is with banker's rounding.

Banker's rounding rounds .5 up sometimes and down sometimes. The convention is to round to the nearest even number, so that both 1.5 and 2.5 round to 2, and 3.5 and 4.5 both round to 4. Banker's rounding is symmetric.

In VBA, the CByte(), CInt(), CLng(), CCur(), and Round() numeric functions perform banker's rounding.

Related Links
TitleResults for “How to create a CRG?”Also Available in