Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

Convert..::..HoursToTimespan Method

Convert decimalHours to TimeSpan.

Namespace:  Suoranta.WebApp.Util
Assembly:  Suoranta.WebApp (in Suoranta.WebApp.dll)

Syntax


public TimeSpan HoursToTimespan(
	string decimalHours,
	TimeRounding precision
)

Parameters

decimalHours
Type: String
Decimal value of hours as string
precision
Type: TimeRounding
Rounding precision

Return Value

TimeSpan of precision