|
static | disable () |
|
static | Add ($op1, $op2, $scale=null) |
|
static | Sub ($op1, $op2, $scale=null) |
|
static | Pow ($op1, $op2, $scale=null) |
|
static | Mul ($op1, $op2, $scale=null) |
|
static | Div ($op1, $op2, $scale=null) |
|
static | Sqrt ($op1, $scale=null) |
|
static | Mod ($op1, $op2) |
|
static | Comp ($op1, $op2, $scale=null) |
|
static | Scale ($scale) |
|
static | isBcmathDisabled () |
|
static | round ($op1, $precision=0) |
| Surprisingly, the results of this implementation of round() prove better than the native PHP round().
|
|
static | floatalize ($value) |
| Convert a scientific notation to float Additionally fixed a problem with PHP <= 5.2.x with big integers.
|
|
static | normalize ($value) |
| Normalizes an input to standard english notation Fixes a problem of BCMath with setLocale which is PHP related.
|
|
static | localize ($value) |
| Localizes an input from standard english notation Fixes a problem of BCMath with setLocale which is PHP related.
|
|
static | exponent ($value, $scale=null) |
| Changes exponential numbers to plain string numbers Fixes a problem of BCMath with numbers containing exponents.
|
|
static | Add ($op1, $op2, $scale=null) |
| BCAdd - fixes a problem of BCMath and exponential numbers.
|
|
static | Sub ($op1, $op2, $scale=null) |
| BCSub - fixes a problem of BCMath and exponential numbers.
|
|
static | Pow ($op1, $op2, $scale=null) |
| BCPow - fixes a problem of BCMath and exponential numbers.
|
|
static | Mul ($op1, $op2, $scale=null) |
| BCMul - fixes a problem of BCMath and exponential numbers.
|
|
static | Div ($op1, $op2, $scale=null) |
| BCDiv - fixes a problem of BCMath and exponential numbers.
|
|
static | Sqrt ($op1, $scale=null) |
| BCSqrt - fixes a problem of BCMath and exponential numbers.
|
|
static | Mod ($op1, $op2) |
| BCMod - fixes a problem of BCMath and exponential numbers.
|
|
static | Comp ($op1, $op2, $scale=null) |
| BCComp - fixes a problem of BCMath and exponential numbers.
|
|