ManufacturingsCalculateQuantityIndivisible Method
Calculate the indivisible quantity.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static decimal CalculateQuantityIndivisible(
decimal quantity,
bool truncate = false
)
Public Shared Function CalculateQuantityIndivisible (
quantity As Decimal,
Optional truncate As Boolean = false
) As Decimal
- quantity Decimal
- The quantity to calculate.
- truncate Boolean (Optional)
- If true, truncates the decimal value; otherwise, rounds to the nearest integer away from zero.
DecimalDecimal with the the indivisible quantity.