if(8.78*100==878){print "OK for 8.78\n"} #prints nothing if(7.78*100==778){print "OK for 7.78\n"} #prints "OK for 7.78"