public class Numeric
extends java.lang.Object
type conversion between long, double, and decimal
mixed precision math for types long, double, and decimal with for +, -, *, /
| Constructor and Description |
|---|
Numeric() |
| Modifier and Type | Method and Description |
|---|---|
static VncVal |
add(VncVal op1,
VncVal op2) |
static VncVal |
div(VncVal op1,
VncVal op2) |
static VncVal |
mul(VncVal op1,
VncVal op2) |
static VncVal |
sub(VncVal op1,
VncVal op2) |
static VncBigDecimal |
toDecimal(VncVal val) |
static VncDouble |
toDouble(VncVal val) |
static VncLong |
toLong(VncVal val) |
public static VncBigDecimal toDecimal(VncVal val)