num-beauty
Version:
An ultra lightweight module for formatting numbers into human-friendly strings
29 lines (28 loc) • 1.25 kB
TypeScript
export declare const locale: {
readonly code: "en-KE";
readonly name: "English (Kenya)";
readonly masks: {};
readonly currencies: {
readonly KES: {
readonly symbol: "KSh";
readonly position: "before";
};
readonly USD: {
readonly symbol: "$";
readonly position: "before";
};
};
readonly units: readonly [readonly ["", ""], readonly ["k", "k"], readonly ["m", "m"], readonly ["b", "b"]];
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 point: "point";
readonly minus: "minus";
readonly currency: {
readonly KES: readonly ["shilling", "shillings"];
readonly USD: readonly ["dollar", "dollars"];
};
readonly currencyJoiner: " ";
};
};