import { toOrdinalSuffix } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";
Adds an ordinal suffix to a number.
Use the modulo operator (%
) to find values of single and tens digits.
Find which ordinal pattern digits match.
If digit is found in teens pattern, use teens ordinal.