有没有办法将浮点数舍入为2分?例如:3576.7675745342556成为3576.76.
3576.7675745342556
3576.76
c c++ algorithm floating-point floating-point-conversion
algorithm ×1
c ×1
c++ ×1
floating-point ×1
floating-point-conversion ×1