Hi All, How to check the number is floating point number or not???
I have tried the code following, #! /usr/bin/perl use strict; use warnings; my $val=124718247874.543; if ($val =~ m#^(\d+)\.(\d\d\d)#; { print "it is a float\n"; } Thanks, Siva
Hi All, How to check the number is floating point number or not???
I have tried the code following, #! /usr/bin/perl use strict; use warnings; my $val=124718247874.543; if ($val =~ m#^(\d+)\.(\d\d\d)#; { print "it is a float\n"; } Thanks, Siva