MongoDB\BSON\Decimal128::__construct Создаёт новый Decimal128 &reftitle.description; final public MongoDB\BSON\Decimal128::__construct stringvalue &mongodb.note.decimal128; &reftitle.parameters; value (string) Десятичная строка. &reftitle.errors; &mongodb.throws.argumentparsing; Выдаёт исключение MongoDB\Driver\Exception\InvalidArgumentException, если value не является допустимой десятичной строкой. &reftitle.examples; Пример использования <function>MongoDB\BSON\Decimal128::__construct</function> ]]> &example.outputs.similar; string(9) "1234.5678" } object(MongoDB\BSON\Decimal128)#1 (1) { ["dec"]=> string(3) "NaN" } object(MongoDB\BSON\Decimal128)#1 (1) { ["dec"]=> string(8) "Infinity" } ]]> &reftitle.seealso; Формат с плавающей точкой Decimal128 Типы BSON