Varint
final class Varint implements Value, Numeric (View source)
A PHP representation of the CQL varint
datatype
Methods
__construct(string $value)
Creates a new variable length integer.
string
__toString()
Returns the integer value.
string
value()
Returns the integer value.
int
toInt()
No description
float
toDouble()
No description
Details
__construct(string $value)
Creates a new variable length integer.
string
__toString()
Returns the integer value.
Type
type()
The type of this varint.
string
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