digit « bigdecimal « Java Data Type Q&A





1. Maximum number of digits after the decimal point using BigDecimal    stackoverflow.com

What is the maximum number of digits we can have after the decimal point of a BigDecimal value in Java?

2. How to get the list of digits in the scale representing the BigDecimal    stackoverflow.com

I have 3 BigDecimal objects 9.1, 9.12, 9.123 and I am looking to get the number of digits in the scale which would be 1, 2 and 3 for the ...