Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Cassandra
Decimal
__construct
Cassandra\Decimal::__construct PHP Method
Decimal Class Documentation
显示文件
Open project: datastax/php-driver
__construct()
public
method
~~~{.php} assertEquals(21, $decimal->scale()); $this->assertEquals("1313123123234234234234234234123", $decimal->value()); ~~~
public
__construct
(
string
$value
)
$value
string
Any decimal string
public function __construct($value) { }
Decimal
__construct
__toString
abs
add
div
mod
mul
neg
scale
sqrt
sub
toDouble
toInt
type
value