Constructordijit.form.NumberTextBox.__Constraints

dojo.require("dijit.form.NumberTextBox");
defined in dijit/form/NumberTextBox.js

Usage

function ()

PropertiesBack to top

object with currency information
override the locale used to determine formatting rules
Maximum signed value. Default is +Infinity
Minimum signed value. Default is -Infinity
override pattern with this string. Default is provided based on
fixed number of decimal places to show. This overrides any information in the provided pattern.
5 rounds to nearest .5; 0 rounds to nearest whole (default). -1 means don't round.
false by default
localized currency symbol
choose a format type based on the locale from the following: decimal, scientific, percent, currency. decimal by default.