public class BigDecimalUtil
extends Object
Constructor and Description |
---|
BigDecimalUtil() |
Modifier and Type | Method and Description |
---|---|
static double |
add(Number x,
Number y) |
static double |
divide(Number x,
Number y,
int scale,
RoundingMode roundingMode) |
static double |
multiply(Number x,
Number y) |
static double |
scale(Number x,
int scale,
RoundingMode roundingMode) |
static double |
subtract(Number x,
Number y) |
public static double add(Number x, Number y)
public static double divide(Number x, Number y, int scale, RoundingMode roundingMode)
public static double multiply(Number x, Number y)
public static double scale(Number x, int scale, RoundingMode roundingMode)
public static double subtract(Number x, Number y)