Cashify – a lightweight currency conversion library and Money.js alternative
github.com
github.com
EUR: 1.00
GBP: 0.92
const result = cashify.convert(10, {from: 'EUR', to: 'GBP'});
console.log(result); //=> 9.200000000000001
The correct result is 9.2. Due to IEEE floating point precision quirk, the library gives 9.200000000000001.