The is_float method returns whether the value is a floating point value.
is_float
is_float()
(Boolean). Returns true if the value is a floating point value, false otherwise.
true
false