Explorar el Código

local float number 1.3333333 to 1.33

master
patrick hace 7 años
padre
commit
de7aa96599
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      ts.php

+ 2
- 1
ts.php Ver fichero

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 )
{ {

Cargando…
Cancelar
Guardar