jw
08/17/2017, 3:26 PMBigDecimal(0.5)
jlleitschuh
08/17/2017, 3:39 PMvoddan
08/17/2017, 4:18 PMraulraja
08/17/2017, 4:21 PMBigDecimal
without explicitly importing it to use its constructor.voddan
08/17/2017, 4:23 PMBigDecimal()
or toBigDecimal()
, no?jlleitschuh
08/17/2017, 4:24 PMraulraja
08/17/2017, 4:25 PMBigDecimal
at some point regarding rounding precision from Double
but I can't recall what the reasons werevoddan
08/17/2017, 4:27 PMjlleitschuh
08/17/2017, 4:28 PM0.8
in big decimal it becomes 0.8000000000000000000523... ect
raulraja
08/17/2017, 4:29 PMkarelpeeters
08/17/2017, 4:33 PM.800..00523
, BigDecimal
just has a different toString.karelpeeters
08/17/2017, 4:34 PMjlleitschuh
08/17/2017, 4:34 PMbenleggiero
08/17/2017, 4:51 PMnullable?.toBigDecimal()
but not BigDecimal(nullable)
karelpeeters
08/17/2017, 4:54 PMjlleitschuh
08/17/2017, 4:55 PMkarelpeeters
08/17/2017, 4:55 PM0.3
thing, you're in for a ride ☺️. This page seems to explain it pretty well:karelpeeters
08/17/2017, 4:55 PM