equals

open operator override fun equals(other: Any?): Boolean

Compares this ScaleAndPrecision with another object for equality. Two ScaleAndPrecision objects are equal if they have the same scale and precision.

Return

true if the objects are equal, false otherwise.

Parameters

other

The object to compare with this ScaleAndPrecision.