Collects both Scale and Precision into one abstract base class. Implements equality based on scale and precision values.
The precision used for formatting measurement values.
The measurement scale defining the ratio between document and real-world measurements.
Compares this ScaleAndPrecision with another object for equality. Two ScaleAndPrecision objects are equal if they have the same scale and precision.
Returns a hash code value for this ScaleAndPrecision based on its scale and precision.