Sumitha Sudhakaran
Junior Member level 2
I want to compare 2 multi digit numbers, say $x = 99 and $y = 158.. the operation: if ($x gt $y)
{print $x;}
the result gives 99 as the answer.. Probably because 9 is greater than 1.. Wats the command to get the correct answer in PERL???
{print $x;}
the result gives 99 as the answer.. Probably because 9 is greater than 1.. Wats the command to get the correct answer in PERL???