mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed extra decimal positions in availability report: external ticket: 2626
This commit is contained in:
parent
d78cab6ac7
commit
c811b8baca
@ -3864,9 +3864,9 @@ function reporting_availability($report, $content) {
|
||||
$percent_fail = (100 - $percent_ok);
|
||||
|
||||
$row['checks'] = format_numeric($count_checks, 0);
|
||||
$row['ok'] = $percent_ok . " %";
|
||||
$row['ok'] = format_numeric($percent_ok,2) . " %";
|
||||
$row['order'] = $percent_ok;
|
||||
$row['fail'] = $percent_fail . " %";
|
||||
$row['fail'] = format_numeric($percent_fail,2) . " %";
|
||||
$row['failed'] =
|
||||
format_numeric($percent_fail * $count_checks / 100, 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user