新手求助:C++里面很大的数为什么会有误差?

#include <iostream>using namespace std;int main (){ float a=9999999; cout<<a; return 0;}输出结果是1e+007不能理解怎样能让他原样输出呢
2026年09月24日 11:41
有1个网友回答
网友(1):

cout<不是误差 是自动的科学计数法显示