equals

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

Equality is based on the display string, which includes user-provided descriptions (such as fractional input) or formatted float values. This means that two Scale objects with numerically equivalent values but different string representations (e.g., "3/4" vs "0.75") will not be considered equal. This is intentional, as users may expect the exact input to be preserved. For numeric equivalence, use numericEquals instead.