Simple question. I need a simple way of detecting values that are "sub penny".. Is there a better way to do it than this? (I believe the code is correct, but I'm hoping there may be a faster implementation)
sub is_subpenny
{
my $number = $_[0];
return (($number*100) - int($number*100) > 0);
}