setAllowsFloats(allowsFloats) {
    this._allowsFloats = allowsFloats;
    return this;
  }
Sets whether this formatter will parse float number values.

@param {boolean} allowsFloats
@returns {NumberFormatter}