Yes, this would solve that issue ... and adds some issues on trigonometric functions (for example). Another way to solve the issue is to round the result.
Javaluator allows you to implement your own evaluators in a few lines of code, depending on what you exactly need. Examples are provided in the tutorial:
You seem to have CSS turned off.
Please don't fill out this field.