Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.egzosn.pay.common.util.Util#conversionCentAmount计算溢出 #105

Open
dongfangding opened this issue Apr 19, 2024 · 0 comments
Open

Comments

@dongfangding
Copy link

入参明明是BigDecimal,出参强制转换为int会造成溢出。
随便一个乘100超过int最大值的问题,都会导致订单金额出现重大问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant