<?php $input = '2:30'; list($hours, $minutes) = explode(':', $input); echo $hours . '.' . $minutes / 60 * 100;
You have javascript disabled. You will not be able to edit any code.