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.
可能重复: 在 C++ 中截断十进制值
如何截断有理数的一些小数位,使其只有 6 位?(例如1.2345678909876对1.23456)
1.2345678909876
1.23456