<?php $x = 5.08; $y = $x - floor($x); $minutes = $x - $y; $seconds = round($y * 60, 0); echo sprintf("%02d:%02d", $minutes, $seconds);
You have javascript disabled. You will not be able to edit any code.