Código Delphi [-] function convertirHoras(horas:Extended):String; var h:Integer; begin h:= trunc(horas); result:= inttostr(h)+ ':' + FormatFloat('00',frac(horas)*100); end;
function convertirHoras(horas:Extended):String; var h:Integer; begin h:= trunc(horas); result:= inttostr(h)+ ':' + FormatFloat('00',frac(horas)*100); end;