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.
|
- import { Digit } from '../../../common'
- import NAMES from '../names'
-
- interface TenTimes {
- (x10: Digit): string
- }
-
- /**
- * Get the name of some number in the tens place.
- * @param {number} x10 - The number in the tens place.
- * @returns {string} The name of the number in the tens place.
- */
- const tenTimes: TenTimes = (x10) => NAMES.tenTimes[x10]
-
- export default tenTimes
|