https://bugs.kde.org/show_bug.cgi?id=447347

            Bug ID: 447347
           Summary: pasting numbers starting with zero are parsed as octal
           Product: kcalc
           Version: 21.04.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ete...@alum.rit.edu
          Reporter: rootki...@yahoo.it
  Target Milestone: ---

SUMMARY
When pasting numbers starting with a zero digit (e.g. "0300", "0FB00"), they
are parsed as octal.

If the number is not valid octal, e.g. contains digits [8-9a-f], then "nan" is
put in kcalc.


STEPS TO REPRODUCE
1. Open a text editor
2. copy the strings "0911", "012346" or "0600"
3. paste it in kcalc

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to