Extension [ extension #63 decimal version 1.5.0 ] { - Classes [1] { Class [ final class Decimal\Decimal implements Stringable, JsonSerializable ] { - Constants [13] { Constant [ public int ROUND_UP ] { 101 } Constant [ public int ROUND_DOWN ] { 102 } Constant [ public int ROUND_CEILING ] { 103 } Constant [ public int ROUND_FLOOR ] { 104 } Constant [ public int ROUND_HALF_UP ] { 105 } Constant [ public int ROUND_HALF_DOWN ] { 106 } Constant [ public int ROUND_HALF_EVEN ] { 107 } Constant [ public int ROUND_HALF_ODD ] { 108 } Constant [ public int ROUND_TRUNCATE ] { 109 } Constant [ public int DEFAULT_PRECISION ] { 28 } Constant [ public int DEFAULT_ROUNDING ] { 107 } Constant [ public int MIN_PRECISION ] { 1 } Constant [ public int MAX_PRECISION ] { 999999999999999999 } } - Static properties [0] { } - Static methods [2] { Method [ static public method sum ] { - Parameters [2] { Parameter #0 [ $values ] Parameter #1 [ ?int $precision = ] } - Return [ Decimal\Decimal ] } Method [ static public method avg ] { - Parameters [2] { Parameter #0 [ $values ] Parameter #1 [ ?int $precision = ] } - Return [ Decimal\Decimal ] } } - Properties [0] { } - Methods [41] { Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ $value = ] Parameter #1 [ int $precision = ] } } Method [ public method copy ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method add ] { - Parameters [1] { Parameter #0 [ $value ] } - Return [ Decimal\Decimal ] } Method [ public method sub ] { - Parameters [1] { Parameter #0 [ $value ] } - Return [ Decimal\Decimal ] } Method [ public method mul ] { - Parameters [1] { Parameter #0 [ $value ] } - Return [ Decimal\Decimal ] } Method [ public method div ] { - Parameters [1] { Parameter #0 [ $value ] } - Return [ Decimal\Decimal ] } Method [ public method rem ] { - Parameters [1] { Parameter #0 [ $value ] } - Return [ Decimal\Decimal ] } Method [ public method mod ] { - Parameters [1] { Parameter #0 [ $value ] } - Return [ Decimal\Decimal ] } Method [ public method pow ] { - Parameters [1] { Parameter #0 [ $value ] } - Return [ Decimal\Decimal ] } Method [ public method ln ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method exp ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method log10 ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method sqrt ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method floor ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method ceil ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method truncate ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method round ] { - Parameters [2] { Parameter #0 [ ?int $places = ] Parameter #1 [ ?int $rounding = ] } - Return [ Decimal\Decimal ] } Method [ public method shift ] { - Parameters [1] { Parameter #0 [ int $places ] } - Return [ Decimal\Decimal ] } Method [ public method trim ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method precision ] { - Parameters [0] { } - Return [ int ] } Method [ public method signum ] { - Parameters [0] { } - Return [ int ] } Method [ public method parity ] { - Parameters [0] { } - Return [ int ] } Method [ public method abs ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method negate ] { - Parameters [0] { } - Return [ Decimal\Decimal ] } Method [ public method isEven ] { - Parameters [0] { } - Return [ bool ] } Method [ public method isOdd ] { - Parameters [0] { } - Return [ bool ] } Method [ public method isPositive ] { - Parameters [0] { } - Return [ bool ] } Method [ public method isNegative ] { - Parameters [0] { } - Return [ bool ] } Method [ public method isNaN ] { - Parameters [0] { } - Return [ bool ] } Method [ public method isInf ] { - Parameters [0] { } - Return [ bool ] } Method [ public method isInteger ] { - Parameters [0] { } - Return [ bool ] } Method [ public method isZero ] { - Parameters [0] { } - Return [ bool ] } Method [ public method toFixed ] { - Parameters [3] { Parameter #0 [ ?int $places = ] Parameter #1 [ ?bool $commas = ] Parameter #2 [ ?int $rounding = ] } - Return [ string ] } Method [ public method toString ] { - Parameters [0] { } - Return [ string ] } Method [ public method toInt ] { - Parameters [0] { } - Return [ int ] } Method [ public method toFloat ] { - Parameters [0] { } - Return [ float ] } Method [ public method equals ] { - Parameters [1] { Parameter #0 [ $other ] } - Return [ bool ] } Method [ public method compareTo ] { - Parameters [1] { Parameter #0 [ $other ] } - Return [ int ] } Method [ public method between ] { - Parameters [2] { Parameter #0 [ $op1 ] Parameter #1 [ $op2 = ] } - Return [ bool ] } Method [ public method __toString ] { - Parameters [0] { } - Return [ string ] } Method [ public method jsonSerialize ] { - Parameters [0] { } - Return [ string ] } } } } }