dojo/number.__RealNumberRegexpFlags (version 1.10)

Note: This is not a real constructor, but just a description of the type of object that should be passed as a parameter to some method(s), and/or the return value from some method(s). In other words, the type exists only for documentation purposes, and you cannot call new number.__RealNumberRegexpFlags()

Property Summary

  • decimalA string for the character used as the decimal point.
  • eSignedThe leading plus-or-minus sign on the exponent.
  • exponentExpress in exponential notation.
  • fractionalWhether decimal places are used.
  • placesThe integer number of decimal places or a range given as "n,m".

Properties

decimal
Defined by: dojo/number

A string for the character used as the decimal point. Default is ".".

eSigned
Defined by: dojo/number

The leading plus-or-minus sign on the exponent. Can be true, false, or [true, false]. Default is [true, false], (i.e. will match if it is signed or unsigned). flags in regexp.integer can be applied.

exponent
Defined by: dojo/number

Express in exponential notation. Can be true, false, or [true, false]. Default is [true, false], (i.e. will match if the exponential part is present are not).

fractional
Defined by: dojo/number

Whether decimal places are used. Can be true, false, or [true, false]. Default is [true, false] which means optional.

places
Defined by: dojo/number

The integer number of decimal places or a range given as "n,m". If not given, the decimal part is optional and the number of places is unlimited.

Error in the documentation? Can’t find what you are looking for? Let us know!