Stuff
public text v1 · immutable<?php
function decimal2hm($time){
list($hours,$minutes) = explode(',',$time);
$minutes = ('.'.$minutes)*60;
if (strlen($minutes) == 1) $minutes = '0'.$minutes;
return array($hours,$minutes);
}
echo 'd: '.$_GET['x'].'<br>r: '.implode(':',decimal2hm($_GET['x'])).'<br><br>';
?>