Rounding rules for UOM values

When you configure unit of measure (UOM) values, the rounding rule defines how numbers are rounded to the number of decimal places specified in Storage Precision.

Option Description
ROUND_CEILING The fractional digit moves toward positive infinity. For example, if Storage Precision is 2, 1.234 is rounded to 1.24.
ROUND_DOWN The fractional digit moves toward zero. The operation effectively truncates the value at the number of decimal places in Storage Precision. For example, if Storage Precision is 2, 1.2345 is rounded to 1.23.
ROUND_FLOOR The fractional digit moves toward negative infinity. For example, if Storage Precision is 2, 1.234 is rounded to 1.23.
ROUND_HALF_DOWN The fractional digit uses the digit to the right to determine the direction of the round. If the digit to the right is 6 or greater, the fraction digit is rounded up. If the digit to the right is 5 or less, the fractional digit is rounded down. For example, if Storage Precision is 2, 1.234 is rounded to 1.23, and 1.236 is rounded to 1.24.
ROUND_HALF_EVEN The fractional digit is rounded up or down as needed to make it even. For example, if Storage Precision is 2, 1.234 is rounded to 1.24.
ROUND_HALF_UP The fractional digit uses the digit to the right to determine the direction of the round. If the digit to the right is 5 or greater, the fractional digit is rounded up. If the digit to the right is 4 or less, the fractional digit is rounded down. For example, if Storage Precision is 2, 1.234 is rounded to 1.23, and 1.236 is rounded to 1.24.
ROUND_UP The fractional digit moves away from zero. For example, if Storage Precision is 2, 1.234 is rounded to 1.24.