Const
typeToFns.decimal(123) // returns '123'
typeToFns.roman(4) // returns 'IV'
typeToFns.roman(4, { case: 'lower' }) // returns 'iv'
typeToFns.latin_letter(1, { case: 'lower' }) // returns 'a'
typeToFns.hexadecimal(255, { case: 'lower' }) // returns 'ff'
typeToFns.month_name(1, { case: 'upper', format: 'short' }) // returns 'JAN'
Mapping of type names to their "To" functions that convert numbers to strings. Each function takes a number and optional TypeInfo for formatting, returning the string representation. Supports case and format transformations when TypeInfo is provided. Used internally by convertTo() but exported for direct access to specific converters.