isfloat#
Whether a value is a number with a fraction or an exponent.
Synopsis#
use Scalar::Util::Numeric qw(isfloat);
isfloat("1.0"); # 1
isfloat("1e3"); # 1
isfloat(10); # 0
What you get back#
1 when the number is written with a decimal point or an exponent, or is infinity or NaN, else 0.