Przeglądaj źródła

local float number 1.3333333 to 1.33

master
patrick 6 lat temu
rodzic
commit
de7aa96599
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      ts.php

+ 2
- 1
ts.php Wyświetl plik

@@ -1233,9 +1233,10 @@ ZOT;
for ($i=1; $i<=14; $i++)
{
$ratetype_item["local_$i"] = $hours[$i-1];
$ratetype_item["local_$i"] = number_format($ratetype_item["local_$i"], 2);
$item['local_total'] += $hours[$i-1];
}
$item['local_total'] = number_format($item['local_total'], 2);
//for remote
if ( $buddy != NULL )
{

Ładowanie…
Anuluj
Zapisz