Automatic precision works incorrectly for non-decimal fractionals

Issue #659 closed
Former user created an issue

When calculating hex(0.6) the displayed result is 0x0.A in case result precision is set to automatic.

Bug present in the currently latest state of master (commit 987c7f909f).

Proposed fix attached.

Comments (6)

  1. Helder Correia repo owner

    Hi, Anonymous. I'd like to add you to the credits box. If you don't mind that, please let me know your name or nickname. Thanks for your contributions. EDIT: I just noticed you're @l-inc from issue #660.

  2. l.inc

    Hi, Helder Correia. That's me, but I'd think the 3 little patches wouldn't be enough for a credit. But thank you for the quick reaction anyway.

  3. Log in to comment