function formatFloatAsShort(replacementNumber, precision, conversion) {
    if (replacementNumber === 0) {
      return '0';
    }

    var nonZeroPrecision = precision === 0 ? 1 : precision;
    var formattedReplacement = replacementNumber.toPrecision(nonZeroPrecision).replace(REGEXP_TRAILING_ZEROS, '');

    if (conversion.typeSpecifier === TYPE_FLOAT_SHORT_UPPERCASE) {
      formattedReplacement = formattedReplacement.toUpperCase();
    }

    return formattedReplacement;
  }
Formats the short float.

@ignore
@param  {number} replacementNumber The number to format.
@param  {number} precision The precision to format the float.
@param  {ConversionSpecification} conversion The conversion specification object.
@return {string}  Returns the formatted short float.