Float_
final class Float_ implements Value, Numeric (View source)
A PHP representation of the CQL float
datatype
Methods
string
__toString()
Returns string representation of the float value.
float
value()
Returns the float value.
bool
isInfinite()
No description
bool
isFinite()
No description
bool
isNaN()
No description
int
toInt()
No description
float
toDouble()
No description
Details
__construct(float|int|string|Float_ $value)
Creates a new float.
static Float_
min()
Minimum possible Float value
static Float_
max()
Maximum possible Float value
string
__toString()
Returns string representation of the float value.
Type
type()
The type of this float.
float
value()
Returns the float value.
bool
isInfinite()
No description
bool
isFinite()
No description
bool
isNaN()
No description
Numeric
abs()
No description
Numeric
neg()
No description
Numeric
sqrt()
No description
int
toInt()
No description
float
toDouble()
No description