Table of Contents

Property MaxDecimalQuantity

Namespace
Skyline.DataMiner.Net.Profiles
Assembly
SLNetTypes.dll

MaxDecimalQuantity

Gets or sets the maximum quantity.

public decimal MaxDecimalQuantity { get; set; }

Property Value

decimal

The maximum quantity.

Remarks

Feature introduced in DataMiner 9.6.8 (RN 22022). Setting the long capacity value will also update its decimal capacity value and vice versa. If the decimal value is too large to fit in a long, getting the corresponding long value will return 0. Getting the long capacity while the corresponding decimal capacity is set to a non-integer value will return the decimal capacity rounded down to the nearest integer (i.e if the decimal capacity is set to 125.8, the long capacity will be 125). A system that uses decimal capacities should no longer use the obsolete long capacities (MaxQuantity). Since it is not always possible to correctly convert the decimal capacity to a long capacity, the returned value when requesting MaxQuantity may no longer be correct.