[core] revert to Double, s/BigDecimal/Double