fails:BigDecimal#to_int returns nil if BigDecimal is infinity or NaN
