Untitled
public text v1 · immutablefunction decimal2hm($time){
$tab=explode('.',$time);
$tab['h']=$tab['0'];
//deux chiffres pour mm
if(strlen($tab['1'])<2)$tab['1'].='0';
$tab['m']=round($tab['1']*=60/100,0);
return ($tab);
}
function decimal2hm($time){
$tab=explode('.',$time);
$tab['h']=$tab['0'];
//deux chiffres pour mm
if(strlen($tab['1'])<2)$tab['1'].='0';
$tab['m']=round($tab['1']*=60/100,0);
return ($tab);
}