Parsing expressions not done correctly

Nov 11, 2009 at 12:25 PM

I guess there is a problem with gramar file.

Expression  18/2/2*3 is parsed like 18/(2/(2*3)) and not like ((18/2)/2)*3



Other problem i'm running to is when dividing two integers and the second one is less than first it returns 0 (also integer),

e.g.  3/6 = 0

Is it possible to return 0.5 (float)?

Nov 11, 2009 at 4:09 PM

Thank you for this information. I have corrected it and published version 1.3.2. (Both issues)