Change Type checks form Float to Numeric to work with BigDecimal

because `BigDecimal.superclass` is Numeric