method

hash

ruby latest stable - Class: BigDecimal
hash()
public

Creates a hash for this BigDecimal.

Two BigDecimals with equal sign, fractional part and exponent have the same hash.