Browse Source

local float number 1.3333333 to 1.33

master
patrick 6 years ago
parent
commit
de7aa96599
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ts.php

+ 2
- 1
ts.php View File

for ($i=1; $i<=14; $i++) for ($i=1; $i<=14; $i++)
{ {
$ratetype_item["local_$i"] = $hours[$i-1]; $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'] += $hours[$i-1];
} }
$item['local_total'] = number_format($item['local_total'], 2);
//for remote //for remote
if ( $buddy != NULL ) if ( $buddy != NULL )
{ {

Loading…
Cancel
Save