Share via


BigDecimal.ROUND_UNNECESSARY

Class Overview | Class Members | This Package | All Packages

Syntax

public static final int ROUND_UNNECESSARY

Description

This "pseudo-rounding-mode" is actually an assertion that the requested operation has an exact result, hence no rounding is necessary. If this rounding mode is specified on an operation that yields an inexact result, an arithmetic exception is thrown.