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

关于 tutorial2 中的这个 “0123”这个字符串的解析 #254

Open
HANjf0822 opened this issue Jan 21, 2024 · 1 comment
Open

关于 tutorial2 中的这个 “0123”这个字符串的解析 #254

HANjf0822 opened this issue Jan 21, 2024 · 1 comment

Comments

@HANjf0822
Copy link

Snipaste_2024-01-21_11-18-12
我贴一下我的值
为什么这个ret在 打印值是 int的时候 显示的是 123
在 double 的时候显示的是 0.000呢?

Hyan1ce added a commit to Hyan1ce/Hyan1ce-json-tutorial that referenced this issue Mar 16, 2024
@kuluoma
Copy link

kuluoma commented May 19, 2024

因为你用int类型(ret)去接收了double类型的返回值

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

2 participants