static parseFloat(floatString) {
    const n = Number(floatString);
    return !isNaN(n) ? n : null;
  }
Parses a floating point number.
@param {string} floatString The floating point number string.
@return {?number} The parsed floating point number on success; otherwise,
  return null. May return -Infinity or Infinity.