Table of Contents

Interface INumericDataValueDescriptor

Namespace
Acuit.Pinpoint.IO.Testing.Data
Assembly
Acuit.Pinpoint.IO.Testing.Abstractions.dll

A numeric data value descriptor.

public interface INumericDataValueDescriptor : IDataValueDescriptor
Inherited Members

Properties

Precision

Gets the precision, or significant digits, as the number of digits to the right of the decimal point. A negative number indicates digits to the left.

int Precision { get; }

Property Value

int

Remarks

For example, for the value 2914.24785217:

  • 2 means values are significant to the nearest hundredth, so the value would normally be displayed as: 2,914.25
  • 0 means values are significant to the nearest whole number, so the value would normally be displayed as: 2,914
  • -3 means values are significant to the nearest thousand, so the value would normally be displayed as: 3,000
  • 2914.24785217 would be used in calculations, but Precision can be used along with the Precision of other values in the calculation to determine what the resulting value precision should be.