dojo/number.__RealNumberRegexpFlags

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()

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.

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/number.__RealNumberRegexpFlags.html