num-beauty
Version:
An ultra lightweight module for formatting numbers into human-friendly strings
29 lines (28 loc) • 1.3 kB
TypeScript
export declare const locale: {
readonly code: "en-NG";
readonly name: "English (Nigeria)";
readonly masks: {};
readonly currencies: {
readonly NGN: {
readonly symbol: "₦";
readonly position: "before";
};
readonly USD: {
readonly symbol: "$";
readonly position: "before";
};
};
readonly units: readonly [readonly ["", ""], readonly ["k", "k"], readonly ["m", "m"], readonly ["b", "b"], readonly ["t", "t"]];
readonly speech: {
readonly small: readonly ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"];
readonly tens: readonly ["", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"];
readonly units: readonly [readonly ["", ""], readonly ["thousand", "thousand"], readonly ["million", "million"], readonly ["billion", "billion"]];
readonly point: "point";
readonly minus: "minus";
readonly currency: {
readonly NGN: readonly ["naira", "naira"];
readonly USD: readonly ["dollar", "dollars"];
};
readonly currencyJoiner: " ";
};
};