totaljs / framework

Node.js framework
http://www.totaljs.com
Other
4.36k stars 450 forks source link

fixed number.VAT() calculation #752

Closed tomee03 closed 4 years ago

tomee03 commented 4 years ago

console.log((50).VAT(20)); // OK -> 41.67 (NEW) // WRONG --> 41.66 (OLD)

console.log((101).VAT(20)); // OK -> 84.17 (NEW) // WRONG --> 84.16 (OLD)

Check here: https://vypocetdph.com/