Decimal128
final class Decimal128 implements Type, Decimal128Interface, JsonSerializable, Stringable (View source)
BSON type for the Decimal128 floating-point format, which supports numbers with up to 34 decimal digits (i.e. significant digits) and an exponent range of −6143 to +6144.
Methods
__construct(string $value = '')
Construct a new Decimal128
string
__toString()
Returns the string representation of this Decimal128
static Decimal128
__set_state(array $properties)
No description
mixed
jsonSerialize()
Returns a representation that can be converted to JSON
Details
final
__construct(string $value = '')
Construct a new Decimal128
final string
__toString()
Returns the string representation of this Decimal128
static Decimal128
__set_state(array $properties)
No description
final mixed
jsonSerialize()
Since: 1.2.0
Returns a representation that can be converted to JSON