HH:mm format converted to Digital Values

How can I convert a calculated field derived from start & finish times rendered as HH:mm format to it’s digital equivalent, eg 7:30 to equal 7.5 In excel the formula is simply the HH:mm * 24, but I cannot get this to work in Ragic, Any assistance would by appreciated.