remove WebGUI::Utility::round
This commit is contained in:
parent
ddf0419836
commit
fadc4f34ea
13 changed files with 34 additions and 87 deletions
|
|
@ -230,7 +230,7 @@ A scalar ref to the array of data that will be broken into columns.
|
|||
sub _columnar {
|
||||
my ($columns, $list) = @_;
|
||||
my @entries = @{ $list };
|
||||
my $fraction = round(@entries/$columns + 0.50);
|
||||
my $fraction = sprintf('%.0f', @entries/$columns + 0.50);
|
||||
my $output = '<tr><td valign="top">';
|
||||
@entries = sort { $a->{name} cmp $b->{name} } @entries;
|
||||
my $i = 0;
|
||||
|
|
@ -369,7 +369,7 @@ sub www_viewHelpIndex {
|
|||
}
|
||||
}
|
||||
my $output = '<table width="100%" class="content"><tr><td valign="top">';
|
||||
my $halfway = round(@helpIndex / 2);
|
||||
my $halfway = sprintf('%.0f', @helpIndex / 2);
|
||||
my $i = 0;
|
||||
@helpIndex = sort { $a->[2] cmp $b->[2] } @helpIndex;
|
||||
foreach my $helpEntry (@helpIndex) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue