function localizeNumber(value) {
  if (typeof value == 'number') {
    value = value.toString();
  }
  return DateTimeFormat.localizeNumbers(value);
}
Quick conversion to national digits, to increase readability of the
tests above.
@param {string|number} value
@return {string}