remove WebGUI::Utility::round

This commit is contained in:
Graham Knop 2010-08-24 16:45:38 -05:00
parent ddf0419836
commit fadc4f34ea
13 changed files with 34 additions and 87 deletions

View file

@ -1500,7 +1500,7 @@ sub recalculateRating {
[$self->getId]
);
my $average = round($sum/$count);
my $average = sprintf('%.0f', $sum/$count);
$self->update({rating=>$average});
}