Fix BigDecimal conversion for Float inputs