PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\BSON\Decimal128::__construct
request it (367)
GoLang replacement for PHP's MongoDB\BSON\Decimal128::__construct
[edit | history]
PHP MongoDB\BSON\Decimal128::__constructPHP original manual for MongoDB\BSON\Decimal128::__construct [ show | php.net ]MongoDB\BSON\Decimal128::__construct(mongodb >=1.2.0) MongoDB\BSON\Decimal128::__construct — Construct a new Decimal128 Description
final public MongoDB\BSON\Decimal128::__construct
([ string
$value
] )
Parameters
Errors/Exceptions
ExamplesExample #1 MongoDB\BSON\Decimal128::__construct() example
<?php The above example will output something similar to: object(MongoDB\BSON\Decimal128)#1 (1) { ["dec"]=> string(9) "1234.5678" } object(MongoDB\BSON\Decimal128)#1 (1) { ["dec"]=> string(3) "NaN" } object(MongoDB\BSON\Decimal128)#1 (1) { ["dec"]=> string(8) "Infinity" } |
more
Recently updated
more
Most requested
more
Last requests
|