Click or drag to resize

TimeUtilsRoundDateToMinuteInterval Method (Decimal, Int32, RoundingDirection)

Rounds an hours value to a minute interval 0 means no rounding

Namespace:  Koden.Utils
Assembly:  Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntax
public static decimal RoundDateToMinuteInterval(
	decimal hours,
	int minuteInterval,
	RoundingDirection direction
)

Parameters

hours
Type: SystemDecimal
The hours.
minuteInterval
Type: SystemInt32
Minutes to round up or down to
direction
Type: Koden.Utils.ModelsRoundingDirection
The direction.

Return Value

Type: Decimal

[Missing <returns> documentation for "M:Koden.Utils.TimeUtils.RoundDateToMinuteInterval(System.Decimal,System.Int32,Koden.Utils.Models.RoundingDirection)"]

See Also