Smallint
final class Smallint implements Value, Numeric (View source)
A PHP representation of the CQL smallint
datatype.
Methods
__construct(int|float|string $value)
Creates a new 16-bit signed integer.
string
__toString()
No description
int
value()
Returns the integer value.
int
toInt()
No description
float
toDouble()
No description
Details
__construct(int|float|string $value)
Creates a new 16-bit signed integer.
static Smallint
min()
Minimum possible Smallint value
static Smallint
max()
Maximum possible Smallint value
string
__toString()
No description
Type
type()
The type of this value (smallint).
int
value()
Returns the integer value.
Numeric
abs()
No description
Numeric
neg()
No description
Numeric
sqrt()
No description
int
toInt()
No description
float
toDouble()
No description