Метод | Описание | |
---|---|---|
__construct ( string $value ) | Creates a new 8bit integer. | |
abs ( ) : cassandra\Numeric | ||
add ( cassandra\Numeric $addend ) : cassandra\Numeric | ||
div ( cassandra\Numeric $divisor ) : cassandra\Numeric | ||
max ( ) : |
Maximum possible Tinyint value | |
min ( ) : |
Minimum possible Tinyint 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 value (tinyint). | |
value ( ) : integer | Returns the integer value. |
public __construct ( string $value ) | ||
$value | string | integer value as a string |
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 static max ( ) : |
||
Результат | maximum value |
public static min ( ) : |
||
Результат | minimum value |
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 |
public type ( ) : cassandra\Type | ||
Результат | cassandra\Type |