code: function parse(number) {
      const pattern = /([0-9]+)\.([0-9]*[1-9])(e[+-][1-9][0-9]*)?/;
      const matches = number.toString().match(pattern);
      var coefficient = matches[1];
      const decimal = matches[2];
      const exponent = matches[3] ? Number(matches[3].slice(1)) : 0;
      if (coefficient === '0') coefficient = '';  // leading zero does not count
      return {
          coefficient: coefficient,
          decimal: decimal,
          exponent: exponent
      };
  }
docs: PRIVATE FUNCTIONS /*
  This function parses a floating point number into its three parts.