We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
let a=1.123456789987654321; 需要将a转变成字符串(“1.123456789987654321”),切精度不丢失,怎么搞?
The text was updated successfully, but these errors were encountered:
理论上可以把数字类型变量 a 分拆成两部分,分别转成字符串然后拼接。但是这边 let a=1.123456789987654321 执行后,其实 a 本身就已经精度丢失了,和转成字符串没关系。
Sorry, something went wrong.
No branches or pull requests
let a=1.123456789987654321;
需要将a转变成字符串(“1.123456789987654321”),切精度不丢失,怎么搞?
The text was updated successfully, but these errors were encountered: