Issue Feature Closed

#16138+calc should check the operators rules

Andreas Balzer 05/09/06, 20:10 updated 11/11/13, 16:58

Description

I don’t know, whether this is included in 4.0, but in 3.8.0 it’s not.. .. and the docs say too, that it isn’t in 4.0:
it would be nice, if template settings with +calc at the end would be “checked” for the operators.. .. or passed to a php function (like eval..) to do the job..
100-300*100/300 isn’t working as expected.. (should return 100-100 = 0 | > returns something >100..)

i know, that this is a big thing to do, but it would be VERY userful..

(issue imported from #M3458)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.