Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我想输出一个4.999999999999999999999超过双精度(15位)的double(或float)数字时,double5.000000000000000的结果是,float的结果是5.000000。
4.999999999999999999999
5.000000000000000
5.000000
如何在不丢失精度的情况下打印原始数字?