Well that's fun, it looks like ye olde *100 trick does not always work in JS:
> 2.05 * 100 204.99999999999997
I'll resist the urge to start using *1000 and retract my patch.
I see no reason why .toFixed(2) won't work for us here. Will revisit bug soon and merge, barring alternate feedback.
Well that's fun, it looks like ye olde *100 trick does not always work in JS:
> 2.05 * 100
204.99999999999997
I'll resist the urge to start using *1000 and retract my patch.
I see no reason why .toFixed(2) won't work for us here. Will revisit bug soon and merge, barring alternate feedback.