Altaxo user manual and class reference
Altaxo user manual and class reference
Altaxo class reference
Altaxo Namespaces
Altaxo.Units Namespaces
Altaxo.Units
DimensionfulQuantity Structure
DimensionfulQuantity Methods
Abs Method
AsQuantityIn Method
AsValueIn Method
CompareTo Method
Equals Method
GetHashCode Method
IsEqualInValuePrefixUnit Method
Max Method
Min Method
RoundUpOrDown Method
ToString Method
WithNewValue Method
Dimensionful
Quantity
Round
Up
Or
Down 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#
Copy
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
Reference
DimensionfulQuantity Structure
Altaxo.Units Namespace
Altaxo can be downloaded from
SourceForge
. Source code available on
Github
.
(C) Dr. Dirk Lellinger and all contributors to the source code 2002 -
Send comments on this topic to
dlellinger@users.sourceforge.net