B
Blnukem
Hi all
How can I round a number up if there is any value other than 00 after the
decimal point here is what I have:
my $count = "5";
my $item = "11";
my $result = ($item / $count);
my $answer = sprintf ('%.2f', $result);
print $answer;
This returns a value of 2.20 I would like it to return a value of 3.00
Thanx in advance
Blnukem
How can I round a number up if there is any value other than 00 after the
decimal point here is what I have:
my $count = "5";
my $item = "11";
my $result = ($item / $count);
my $answer = sprintf ('%.2f', $result);
print $answer;
This returns a value of 2.20 I would like it to return a value of 3.00
Thanx in advance
Blnukem