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, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic