Click or drag to resize

QuantityExtensionsRound Method

Rounds the quantity as per the precision, supported by the system (0.001).

Namespace:  Aloe.EnterpriseOne.Model
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static Quantity Round(
	this Quantity quantity
)

Parameters

quantity
Type: Aloe.EnterpriseOne.ModelQuantity

Return Value

Type: Quantity
The rounded quantity.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Quantity. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also