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

bigDecimal篇修正 #2591

Merged
merged 1 commit into from
Jan 26, 2025
Merged

bigDecimal篇修正 #2591

merged 1 commit into from
Jan 26, 2025

Conversation

pykeeee
Copy link
Contributor

@pykeeee pykeeee commented Jan 26, 2025

浮点数和小数是不同的概念,这里有些混淆。浮点数是计算机常用的表示小数的方式,而bigDecimal是用来解决二进制浮点数无法精确表示十进制小数的问题。本质上,bigDecimal也是浮点数,只不过是十进制浮点数。

浮点数和小数是不同的概念,这里有些混淆。浮点数是计算机常用的表示小数的方式,而bigDecimal是用来解决二进制浮点数无法精确表示十进制小数的问题。本质上,bigDecimal也是浮点数,只不过是十进制浮点数。
@Snailclimb Snailclimb merged commit b98ef11 into Snailclimb:main Jan 26, 2025
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

Successfully merging this pull request may close these issues.

2 participants