public class NppRoundMode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
NPP_RND_FINANCIAL
Round according to financial rule.
|
static int |
NPP_RND_NEAR
Round to the nearest even integer.
|
static int |
NPP_RND_ZERO
Round towards zero (truncation).
|
static int |
NPP_ROUND_NEAREST_TIES_AWAY_FROM_ZERO |
static int |
NPP_ROUND_NEAREST_TIES_TO_EVEN |
static int |
NPP_ROUND_TOWARD_ZERO |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
stringFor(int m)
Returns the String identifying the given NppRoundMode
|
public static final int NPP_RND_NEAR
public static final int NPP_ROUND_NEAREST_TIES_TO_EVEN
public static final int NPP_RND_FINANCIAL
public static final int NPP_ROUND_NEAREST_TIES_AWAY_FROM_ZERO
public static final int NPP_RND_ZERO
public static final int NPP_ROUND_TOWARD_ZERO