This is preliminary documentation and is subject to change.

ExtendedDateTimeToRoundedPrecision Method

Rounds to the given precision

Definition

Namespace: MoreDateTime
Assembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
C#
public ExtendedDateTime ToRoundedPrecision(
	ExtendedDateTimePrecision precision,
	bool roundUp = false
)

Parameters

precision  ExtendedDateTimePrecision
The precision
roundUp  Boolean  (Optional)
If true, round up.

Return Value

ExtendedDateTime
An ExtendedDateTime.

See Also