com.adobe.agl.math.BigDecimal vs java.math.BigDecimal | Community
Skip to main content
Level 8
April 21, 2021
Solved

com.adobe.agl.math.BigDecimal vs java.math.BigDecimal

  • April 21, 2021
  • 2 replies
  • 862 views

Any thoughts on which we should use in servlet code, and why adobe created another version?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

DO NOT USE 

  • com.adobe.agl.math.BigDecimal

https://javadoc.io/doc/com.adobe.aem/aem-sdk-api/latest/com/adobe/agl/math/BigDecimal.html

2 replies

Asutosh_Jena_
Community Advisor
Community Advisor
April 22, 2021

Hi @tb3dock 

 

We have been using java.math.BigDecimal in all our programs as it has more number of methods and functionality as compared to com.adobe.agl.math.BigDecimal.

I believe you should be good to go with java.math.BigDecilmal.

 

Thanks!

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
April 22, 2021