This is the revision history for is it a number in <discord.gg:#412831877242683403>
factoid_id | subject | copula | predicate | author | namespace |
---|---|---|---|---|---|
3466 | is it a number | is | you should see perldoc -q 'is a number', where you will learn in part that /^\d+$/ is the proper, reliable test for a whole number or zero... /^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$/ for floating point and scientific notation... see also Scalar::Util::looks_like_number, Data::Types, Regexp::Common or POSIX::strtod | perlbot | <*:##NULL> |