ordinal-suffix-of
v1.0.1
Published
Feed in a number, get back the ordinal suffix of that number
Downloads
13
Readme
ordinal-suffix-of
Use:
import { ordinalSuffixOf } from 'ordinal-suffix-of';
let a = 123;
console.log(a + ordinalSuffixOf(a))Notes:
ordinalSuffixOfexpects aNumber.- Any type other than
Numberwill throw an Error.
