bodar / totallylazy.js

TotallyLazy.js
Apache License 2.0
8 stars 5 forks source link

Support the ¥ symbol #17

Closed kjones1876 closed 3 years ago

kjones1876 commented 3 years ago
it('can handle en-JP number format', () => {
   assert.deepEqual(flexibleParse('¥19,000', 'en-JP', { strategy: prefer('JPY') }), money('JPY', 19000));
   assert.deepEqual(flexibleParse('¥19,000'), money('JPY', 19000));
});
danielbodart commented 3 years ago

This was fixed with 86c9bd6bb29a598bfccc41746caf847815a10ab5