NAME

isfloat - test if a value is a floating-point number

SYNOPSIS

val.isfloat()

DESCRIPTION

The isfloat() method tests whether val is a floating-point number (e.g., Float, Double, or Half).

RETURN VALUE

true if val is a floating-point number, false otherwise.

ERRORS

None.

EXAMPLE

    (3.14).isfloat()
true

    42->isfloat()
false

SEE ALSO

typeof
isinteger
isnumeric