openexchangerates / accounting.js

A lightweight JavaScript library for number, money and currency formatting - fully localisable, zero dependencies.
http://openexchangerates.github.io/accounting.js
MIT License
4.95k stars 528 forks source link

in Safari Private Mode custom settings are not takenover #147

Open adWWoman opened 8 years ago

adWWoman commented 8 years ago

with such settings in Safari in Private Mode currency is shown as $XX.XX //===================== accounting.settings = { currency: { symbol: '€', // default currency symbol is '$' format: '%s %v', // controls output: %s = symbol, %v = value/number (can be object: see below) decimal: ',', // decimal point separator thousand: '.', // thousands separator precision: 2 // decimal places }, number: { precision: 0, // default precision on numbers is 0 thousand: '.', decimal: ',' } }; //=========================