Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

HalfWayRoundingMode

Synopsis

enum HalfWayRoundingMode {
    Even,
    Up
}

Rounding mode of the calculation.

Even

The system will round toward the nearest neighbor. In case of equidistant neighbors the system will round towards the even neighbor. This rounding mode is also called Banker’s Rounding.

Up

With this rounding mode the system will round towards the nearest neighbor unless both neighbors are equidistant, in which case the system will round up (away from zero).