I have the following code to identify a decimal number, however if the number is 10. or 10.0 format ie no trailing numbers after decimal point or a single trailing zero my function fails can ay one help?
sub is_float {
#Warning this does not return is_float true when the number ends like:-
#...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.