float_as_time
No overview available.
def float_as_time(
hours: float
) - > string
Converts a floating-point number representing hours into a formatted time string.
Parameters
| Name | Type | Description |
|---|---|---|
| hours | float | The total number of hours to be converted into a time duration. |
Returns
| Type | Description |
|---|---|
string | The time formatted as 'HH:MM:SS', where hours are zero-padded to at least two digits. |