$string = "1.00"; if (int ($string > 1)) { print "Yes true"; } else { print "Not true"; }