How can I cast Long to BigDecimal?
Long
BigDecimal
You'll have to create a new BigDecimal.
BigDecimal d = new BigDecimal(long);
2.1m questions
2.1m answers
60 comments
57.0k users