monofonik/scribble

Numeric operations bug

adammcarth opened this issue · 1 comments

Try this in scribble:

say( -193 + (2 * 33) );
#=> -129

say( -193 + (3 * 33) );
#=> -97

So it incorrectly adds 2 and 3 respectively to the actual answer of the equation.

Hi Adam, thanks for reporting this.

Could you please try this using the new version of Scribble:
http://aidanlane.github.io/snapapps/scribble.html

You will need to use the lambda block (found under "Operators") to perform the calculation:
image