// numeral.js locale configuration // locale : russian (ru) // author : Anatoli Papirovski : https://github.com/apapirovski (function (global, factory) { if (typeof define === 'function' && define.amd) { define(['../numeral'], factory); } else if (typeof module === 'object' && module.exports) { factory(require('../numeral')); } else { factory(global.numeral); } }(this, function (numeral) { numeral.register('locale', 'ru', { delimiters: { thousands: ' ', decimal: ',' }, abbreviations: { thousand: 'тыс.', million: 'млн.', billion: 'млрд.', trillion: 'трлн.' }, ordinal: function () { // not ideal, but since in Russian it can taken on // different forms (masculine, feminine, neuter) // this is all we can do return '.'; }, currency: { symbol: 'руб.' } }); }));