Get the name of a number, even if it's stupidly big.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

19 line
500 B

  1. import { NumberSystem } from '../../common'
  2. import getKiloCount from './getKiloCount'
  3. import getLongKiloName from './getLongKiloName'
  4. import getEuropeanLongKiloName from './getEuropeanLongKiloName'
  5. import getShortKiloName from './getShortKiloName'
  6. import joinKilo from './joinKilo'
  7. const numberSystem: NumberSystem = {
  8. getKiloCount,
  9. getKiloName: {
  10. short: getShortKiloName,
  11. long: getLongKiloName,
  12. europeanLong: getEuropeanLongKiloName,
  13. },
  14. joinKilo,
  15. }
  16. export default numberSystem