| 1234567891011121314151617181920212223242526272829303132 |
- // numeral.js locale configuration
- // locale : french (Canada) (fr-ca)
- // author : Léo Renaud-Allaire : https://github.com/renaudleo
- (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', 'fr-ca', {
- delimiters: {
- thousands: ' ',
- decimal: ','
- },
- abbreviations: {
- thousand: 'k',
- million: 'M',
- billion: 'G',
- trillion: 'T'
- },
- ordinal : function (number) {
- return number === 1 ? 'er' : 'e';
- },
- currency: {
- symbol: '$'
- }
- });
- }));
|