Github issue 412: lbs values

Linus Torvalds torvalds at
Sat Jun 10 13:13:00 PDT 2017

On Sat, Jun 10, 2017 at 12:49 PM, Lubomir I. Ivanov <neolit123 at> wrote:
> perhaps both the lrint() calls should be removed and let QString()
> with 'f' (0/1) handle that?

Agfreed. The whole "lbs = lrint(lbs + 0.05);" thing isn't even a
sensible thing to do in the first place, and the other version (that
adds half a lbs) is confused too, since lrint() already rounds.

So ack on your patch.


More information about the subsurface mailing list