Table of Contents

Property DecimalQuantity

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

DecimalQuantity

Gets or sets the decimal quantity.

public decimal DecimalQuantity { get; set; }

Property Value

decimal

The decimal 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. Since it is not always possible to correctly convert the decimal capacity to a long capacity, the returned value when requesting the long capacity may no longer be correct.