1. How do you trim the BigDecimal division results stackoverflow.com
Division on certain conditions results in a zero at the end
2. Trim More than two trailing Zeros in BigDecimal stackoverflow.com
What would be a good way to trim more than two trailing zeros for a BigDecimal So 1.2200 would print 1.22 and 1.0000 would print 1.00 Edit As well as to return 1.222200 ...
3. Remove leading zero and delimiter char for BigDecimal stackoverflow.com
Our application can get following numbers: