Skip to content

Commit

Permalink
Add number formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nerakhon authored Jul 23, 2023
1 parent d2c83d1 commit de3fb90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UniFi/UniFi.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function livestats()
}

if ($detail->subsystem === 'wan') {
$data['wan_avail'] = $detail->uptime_stats->WAN->availability;
$data['wan_avail'] = number_format($detail->uptime_stats->WAN->availability,0);
}
}
} else {
Expand Down

0 comments on commit de3fb90

Please sign in to comment.