function emptyStringWhenNumberNan(returnIfNaN) {
  const localizeManager = getLocalizeManager();
  return returnIfNaN || localizeManager.formatNumberOptions.returnIfNaN;
}
When number is NaN we should return an empty string or returnIfNaN param

@param {string|undefined} returnIfNaN
@returns {string}