Light Mode
Dark Mode
should it calculate in 'python' ...

should it calculate in 'python' way:

1 / 2 = 0; -4 / 8 = -1;

or in regular 'math' way:

1 / 2 = 0.5 -4 / 8 = -0.5 ?

My script parses expressions like

(((-(-(-4/2)))/+++2+(-+-+8*(4/4/4+3))))/-(--24)

in python way - equals (-1), but still fails with error 'ex'.

Created: Nov. 11, 2011, 10:32 p.m.
Updated: Sept. 30, 2013, 1:46 p.m.
0
6
User avatar
jey