메소드 | 설명 | |
---|---|---|
__construct ( mixed $value ) | Creates a new float. | |
__toString ( ) : string | Returns string representation of the float value. | |
abs ( ) : cassandra\Numeric | ||
add ( cassandra\Numeric $addend ) : cassandra\Numeric | ||
div ( cassandra\Numeric $divisor ) : cassandra\Numeric | ||
max ( ) : |
Maximum possible Float value | |
min ( ) : |
Minimum possible Float value | |
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 | ||
type ( ) : cassandra\Type | The type of this float. | |
value ( ) : float | Returns the float value. |
public __construct ( mixed $value ) | ||
$value | mixed | float value as a string, number or Cassandra\Float |
public __toString ( ) : string | ||
리턴 | string | float value |
public add ( cassandra\Numeric $addend ) : cassandra\Numeric | ||
$addend | cassandra\Numeric | a number to add to this one |
리턴 | cassandra\Numeric | sum |
public div ( cassandra\Numeric $divisor ) : cassandra\Numeric | ||
$divisor | cassandra\Numeric | a number to divide this one by |
리턴 | cassandra\Numeric | quotient |
public mod ( cassandra\Numeric $divisor ) : cassandra\Numeric | ||
$divisor | cassandra\Numeric | a number to divide this one by |
리턴 | cassandra\Numeric | remainder |
public mul ( cassandra\Numeric $multiplier ) : cassandra\Numeric | ||
$multiplier | cassandra\Numeric | a number to multiply this one by |
리턴 | cassandra\Numeric | product |
public sub ( cassandra\Numeric $subtrahend ) : cassandra\Numeric | ||
$subtrahend | cassandra\Numeric | a number to subtract from this one |
리턴 | cassandra\Numeric | difference |