in reply to Re: Rounding a number using (s)printf
in thread Rounding a number using (s)printf

You mean bankers rounding? That's not what's happening here. As you said yourself, the least significant digits play a role here. But the difference between 0.255 and 1.255 lies is the most significant digit.
  • Comment on Re^2: Rounding a number using (s)printf