Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules2/numbro/languages/fil-PH.js
T
2026-09-10 15:40:10 +08:00

29 lines
640 B
JavaScript

/*!
* numbro.js language configuration
* language : Filipino (Pilipino)
* locale: Philippines
* author : Michael Abadilla : https://github.com/mjmaix
*/
module.exports = {
languageTag: "fil-PH",
delimiters: {
thousands: ",",
decimal: "."
},
abbreviations: {
thousand: "k",
million: "m",
billion: "b",
trillion: "t"
},
ordinal: (number) => {
let b = number % 10;
return (~~(number % 100 / 10) === 1) ? "th" : (b === 1) ? "st" : (b === 2) ? "nd" : (b === 3) ? "rd" : "th";
},
currency: {
symbol: "₱",
code: "PHP"
}
};