For example i have 525 minutes, if we will divide it by 60 the result will be 8.75
But 1 hour have only 60 minutes not 75
How can i calculate the exact hour:minutes from total minutes?
$hours = intval($totalMinutes/60);
$minutes = $totalMinutes - ($hours * 60);
Edited to be PHP