dojo.number.regexp
dojo.require("dojo.number");
defined in dojo/number.js
Returns regular expression with positive and negative match, group
and decimal separators
parameter | type | description |
---|
options | dojo.number.__RegexpOptions | Optional. field | type | description |
---|
.locale | String | Optional. override the locale used to determine formatting rules | .pattern | String | Optional. override pattern with this string. Default is provided based on | .places | Number|String | Optional. number of decimal places to accept: Infinity, a positive number, or a range "n,m". By default, defined by pattern. | .strict | | false by default | .type | String | Optional. choose a format type based on the locale from the following: decimal, scientific, percent, currency. decimal by default. |
|