diff --git a/UniFi/UniFi.php b/UniFi/UniFi.php index 223b8947e4..b2875564e8 100644 --- a/UniFi/UniFi.php +++ b/UniFi/UniFi.php @@ -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 {