code: function rectify(str) {
    let minus = String.fromCharCode(consts.minus);
    let point = String.fromCharCode(consts.point);
  
    // Remove the negative sign if necessary.
    let abs = (str[0] === minus) ? str.slice(1) : str;
  
    // Split into fractional and integer parts.
    let split = abs.split(point);
    let integerPart = split[0] || '';
    let fractionalPart = split[1] || '';
  
    // Trim zeros.
    integerPart = removeLeadingZeros(integerPart);
    fractionalPart = removeTrailingZeros(fractionalPart);
  
    // Put it back together.
    let rectified;
    rectified = integerPart ? integerPart : consts.alphabet[0];
    rectified += fractionalPart ? point + fractionalPart : '';
  
    // Replace the negative sign if necessary.
    if (str[0] === minus && rectified != consts.alphabet[0]) rectified = minus + rectified;
  
    return rectified;
  }
docs: /* Format a number string so that it looks like a normal number.
  *