33 lines
830 B
JavaScript
33 lines
830 B
JavaScript
|
// numeral.js locale configuration
|
||
|
// locale : Finnish
|
||
|
// author : Sami Saada : https://github.com/samitheberber
|
||
|
|
||
|
(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', 'fi', {
|
||
|
delimiters: {
|
||
|
thousands: ' ',
|
||
|
decimal: ','
|
||
|
},
|
||
|
abbreviations: {
|
||
|
thousand: 'k',
|
||
|
million: 'M',
|
||
|
billion: 'G',
|
||
|
trillion: 'T'
|
||
|
},
|
||
|
ordinal: function (number) {
|
||
|
return '.';
|
||
|
},
|
||
|
currency: {
|
||
|
symbol: '€'
|
||
|
}
|
||
|
});
|
||
|
}));
|