Change Type checks form Float to Numeric to work with BigDecimal

because `BigDecimal.superclass` is Numeric
Merge pull request #108 from pitr-ch/master

Change Type checks form Float to Numeric to work with BigDecimal