| Constructor and Description |
|---|
DecimalUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double |
fixSign(double roundedValue,
double x) |
static boolean |
isDifferent(double d1,
double d2,
double delta) |
static boolean |
isDifferent(float f1,
float f2,
float delta) |
static double |
round(double x,
int scale) |
static double |
round(double x,
int scale,
int roundingMode) |
public static double round(double x,
int scale)
public static double round(double x,
int scale,
int roundingMode)
public static double fixSign(double roundedValue,
double x)
public static boolean isDifferent(double d1,
double d2,
double delta)
public static boolean isDifferent(float f1,
float f2,
float delta)
Copyright © 2021. All rights reserved.