Click or drag to resize

DimensionfulQuantityRoundUpOrDown Method

Rounds a quantity to the nearest multiple of another quantity.

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static DimensionfulQuantity RoundUpOrDown(
	DimensionfulQuantity a,
	DimensionfulQuantity b
)

Parameters

a  DimensionfulQuantity
The quantity to round.
b  DimensionfulQuantity
The quantity defining the rounding step.

Return Value

DimensionfulQuantity
The rounded quantity.
See Also