BCMath Emulation Class
author | Jim Wigginton terrafrost@php.net |
---|---|
access | public |
package | Default |
__callStatic( $name, $arguments)
var | |
---|---|
add( $x, $y, $scale, $pad)
var | |
---|---|
comp( $x, $y, $scale, $pad)
var | |
---|---|
div( $x, $y, $scale, $pad)
var | |
---|---|
format( $x, $scale, $pad)
Places the decimal place at the appropriate place, adds trailing 0's as appropriate, etc
var | |
---|---|
isNegative( $x)
var | |
---|---|
mod( $x, $y, $scale, $pad)
Uses the PHP 7.2+ behavior
var | |
---|---|
mul( $x, $y, $scale, $pad)
var | |
---|---|
pow( $x, $y, $scale, $pad)
Uses the PHP 7.2+ behavior
var | |
---|---|
powmod( $x, $e, $n, $scale, $pad)
var | |
---|---|
scale( $scale = null)
Uses the PHP 7.3+ behavior
var | optional |
---|---|
sqrt( $n, $scale, $pad)
var | |
---|---|
sub( $x, $y, $scale, $pad)
var | |
---|---|
scale :