Will this script […] run faster or slower than this script
Faster. There’s much more to do in the second.
Or rather, is there a way to get javascript to evaluate an equation to only a certain level of accuracy.
No.
Is the speed difference even large enough to care about?
No.
If you want to display the result with a certain precision, you can use a.toFixed(2)
(two decimal places) or a.toPrecision(2)
(two significant digits). But rounding (and not even to integers) isn’t going to positively affect performance.