Added static method BigDecimal.valueOf(Number).