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
Syntaxpublic static Quantity Round(
this Quantity quantity
)
<ExtensionAttribute>
Public Shared Function Round (
quantity As Quantity
) As Quantity
public:
[ExtensionAttribute]
static Quantity^ Round(
Quantity^ quantity
)
[<ExtensionAttribute>]
static member Round :
quantity : Quantity -> Quantity
Parameters
- quantity
- Type: Aloe.EnterpriseOne.ModelQuantity
Return Value
Type:
QuantityThe 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