PHP 인터페이스 Cassandra\Numeric

또한 보기: Bigint
또한 보기: Decimal
또한 보기: Float
또한 보기: Varint
파일 보기 프로젝트 열기: datastax/php-driver

공개 메소드들

메소드 설명
abs ( ) : cassandra\Numeric
add ( cassandra\Numeric $addend ) : cassandra\Numeric
div ( cassandra\Numeric $divisor ) : cassandra\Numeric
mod ( cassandra\Numeric $divisor ) : cassandra\Numeric
mul ( cassandra\Numeric $multiplier ) : cassandra\Numeric
neg ( ) : cassandra\Numeric
sqrt ( ) : cassandra\Numeric
sub ( cassandra\Numeric $subtrahend ) : cassandra\Numeric
toDouble ( ) : float
toInt ( ) : integer

메소드 상세

abs() 공개 메소드

public abs ( ) : cassandra\Numeric
리턴 cassandra\Numeric absolute value

add() 공개 메소드

public add ( cassandra\Numeric $addend ) : cassandra\Numeric
$addend cassandra\Numeric a number to add to this one
리턴 cassandra\Numeric sum

div() 공개 메소드

public div ( cassandra\Numeric $divisor ) : cassandra\Numeric
$divisor cassandra\Numeric a number to divide this one by
리턴 cassandra\Numeric quotient

mod() 공개 메소드

public mod ( cassandra\Numeric $divisor ) : cassandra\Numeric
$divisor cassandra\Numeric a number to divide this one by
리턴 cassandra\Numeric remainder

mul() 공개 메소드

public mul ( cassandra\Numeric $multiplier ) : cassandra\Numeric
$multiplier cassandra\Numeric a number to multiply this one by
리턴 cassandra\Numeric product

neg() 공개 메소드

public neg ( ) : cassandra\Numeric
리턴 cassandra\Numeric negative value

sqrt() 공개 메소드

public sqrt ( ) : cassandra\Numeric
리턴 cassandra\Numeric square root

sub() 공개 메소드

public sub ( cassandra\Numeric $subtrahend ) : cassandra\Numeric
$subtrahend cassandra\Numeric a number to subtract from this one
리턴 cassandra\Numeric difference

toDouble() 공개 메소드

public toDouble ( ) : float
리턴 float this number as float

toInt() 공개 메소드

public toInt ( ) : integer
리턴 integer this number as int