TimeUtils.FractionalHoursToString

Converts a fractional hour value like 1.25 to 1:15 hours:minutes format

public static string FractionalHoursToString(decimal hours,
	string format)

Parameters

hours
Decimal hour value

format
An optional format string where {0} is hours and {1} is minutes (ie: "{0}h:{1}m").

Overloads:


See also:

Class TimeUtils

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic