[Kst] [Bug 144464] New: Equation parser doesn't like missing leading zeros

D.V.Wiebe dwiebe at physics.utoronto.ca
Fri Apr 20 22:37:35 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=144464         
           Summary: Equation parser doesn't like missing leading zeros
           Product: kst
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: dwiebe physics utoronto ca


Version:           1.4.0 (using KDE KDE 3.5.6)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 4.1.2 
OS:                Linux

The equation parser doesn't like it when I omit leading zeros on numbers smaller than one.  ie. the equation:

  x + .1

produces the syntax error error:

  Unknown character '.'.

The equation parser should treat this the same as:

  x + 0.1


More information about the Kst mailing list