58 lines
1.2 KiB
JavaScript
58 lines
1.2 KiB
JavaScript
/*!
|
|
* numbro.js language configuration
|
|
* language : Portuguese
|
|
* locale : Portugal
|
|
* author : Diogo Resende : https://github.com/dresende
|
|
*/
|
|
|
|
module.exports = {
|
|
languageTag: "pt-PT",
|
|
delimiters: {
|
|
thousands: " ",
|
|
decimal: ","
|
|
},
|
|
abbreviations: {
|
|
thousand: "k",
|
|
million: "m",
|
|
billion: "b",
|
|
trillion: "t"
|
|
},
|
|
ordinal: function() {
|
|
return "º";
|
|
},
|
|
currency: {
|
|
symbol: "€",
|
|
position: "postfix",
|
|
code: "EUR"
|
|
},
|
|
currencyFormat: {
|
|
thousandSeparated: true,
|
|
totalLength: 4,
|
|
spaceSeparated: true,
|
|
average: true
|
|
},
|
|
formats: {
|
|
fourDigits: {
|
|
totalLength: 4,
|
|
spaceSeparated: true,
|
|
average: true
|
|
},
|
|
fullWithTwoDecimals: {
|
|
output: "currency",
|
|
mantissa: 2,
|
|
spaceSeparated: true,
|
|
thousandSeparated: true
|
|
},
|
|
fullWithTwoDecimalsNoCurrency: {
|
|
mantissa: 2,
|
|
thousandSeparated: true
|
|
},
|
|
fullWithNoDecimals: {
|
|
output: "currency",
|
|
spaceSeparated: true,
|
|
thousandSeparated: true,
|
|
mantissa: 0
|
|
}
|
|
}
|
|
};
|