UNPKG

num-beauty

Version:

An ultra lightweight module for formatting numbers into human-friendly strings

1 lines 715 B
export const locale={code:"en-ZA",name:"English (South Africa)",masks:{phone:"(##) ###-####"},currencies:{ZAR:{symbol:"R",position:"before"},USD:{symbol:"$",position:"before"}},units:[["",""],["k","k"],["m","m"],["b","b"],["t","t"]],speech:{small:["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],tens:["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"],units:[["",""],["thousand","thousand"],["million","million"],["billion","billion"],["trillion","trillion"]],point:"point",minus:"minus",currency:{ZAR:["rand","rand"],USD:["dollar","dollars"]},currencyJoiner:" "}};