public class CalculationPrecisionStrategy
Field Summary | ||
---|---|---|
static final int | NONE | |
No strategy applied on calculation.
When calculating just use the original double value as operand and return the result directly.
Most efficient for performance and applicable for most cases.
|
||
static final int | ROUND | |
Rounds the calculation result according with significant digits.
|
||
static final int | DECIMAL | |
Uses decimal as operands when possible.
Most inefficient for performance.
|
public static final int NONE
public static final int ROUND
public static final int DECIMAL