SyntaxFix
Write A Post
Hire A Developer
Questions
Can you guarantee that the BigDecimal will never contain a value larger than Integer.MAX_VALUE?
BigDecimal
Integer.MAX_VALUE
If yes, then here's your code calling intValue:
intValue
Integer.valueOf(bdValue.intValue())