Extension [ extension #83 decimal version 1.0.0 ] { - Classes [1] { Class [ final class Decimal\Decimal implements JsonSerializable ] { - Constants [13] { Constant [ public integer ROUND_UP ] { 101 } Constant [ public integer ROUND_DOWN ] { 102 } Constant [ public integer ROUND_CEILING ] { 103 } Constant [ public integer ROUND_FLOOR ] { 104 } Constant [ public integer ROUND_HALF_UP ] { 105 } Constant [ public integer ROUND_HALF_DOWN ] { 106 } Constant [ public integer ROUND_HALF_EVEN ] { 107 } Constant [ public integer ROUND_HALF_ODD ] { 108 } Constant [ public integer ROUND_TRUNCATE ] { 109 } Constant [ public integer DEFAULT_PRECISION ] { 28 } Constant [ public integer DEFAULT_ROUNDING ] { 107 } Constant [ public integer MIN_PRECISION ] { 1 } Constant [ public integer MAX_PRECISION ] { 999999999999999999 } } - Static properties [0] { } - Static methods [2] { Method [ static public method sum ] { - Parameters [2] { Parameter #0 [ $values ] Parameter #1 [ integer or NULL $precision ] } - Return [ Decimal\Decimal ] } Method [ static public method avg ] { - Parameters [2] { Parameter #0 [ $values ] Parameter #1 [ integer or NULL $precision ] } - Return [ Decimal\Decimal ] } } - Properties [0] { } - Methods [39] { Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ $value ] Parameter #1 [ integer $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 [ integer or NULL $places ] Parameter #1 [ integer or NULL $rounding ] } - Return [ Decimal\Decimal ] } Method [ public method shift ] { - Parameters [1] { Parameter #0 [ integer $places ] } - Return [ Decimal\Decimal ] } Method [ public method precision ] { - Parameters [0] { } - Return [ integer ] } Method [ public method signum ] { - Parameters [0] { } - Return [ integer ] } Method [ public method parity ] { - Parameters [0] { } - Return [ integer ] } 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 [ boolean ] } Method [ public method isOdd ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method isPositive ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method isNegative ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method isNaN ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method isInf ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method isInteger ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method isZero ] { - Parameters [0] { } - Return [ boolean ] } Method [ public method toFixed ] { - Parameters [3] { Parameter #0 [ integer or NULL $places ] Parameter #1 [ boolean or NULL $commas ] Parameter #2 [ integer or NULL $rounding ] } - Return [ string ] } Method [ public method toString ] { - Parameters [0] { } - Return [ string ] } Method [ public method toInt ] { - Parameters [0] { } - Return [ integer ] } Method [ public method toFloat ] { - Parameters [0] { } - Return [ float ] } Method [ public method equals ] { - Parameters [1] { Parameter #0 [ $other ] } - Return [ boolean ] } Method [ public method compareTo ] { - Parameters [1] { Parameter #0 [ $other ] } - Return [ integer ] } Method [ public method __toString ] { - Parameters [0] { } - Return [ string ] } Method [ public method jsonSerialize ] { - Parameters [0] { } - Return [ string ] } } } } }