priceSettings

sets the format of the price number

object priceSettings;

Example

webix.i18n.priceSettings = {
    groupSize:3,        // the number of digits in a group
    groupDelimiter:" ", // a mark that divides numbers with many digits into groups
    decimalDelimiter:"",// the decimal delimiter
    decimalSize:0,       // the number of digits after the decimal mark
    minusPosition:"before", // the position of a negative sign
    minusSign:"-",       // a sign for a negative number
};
webix.i18n.setLocale();

Details

As a string the parameter can take only one of a predefined set of values.
The predefined values are:

  • 'null' - the value 'says' to apply the default number setting

You need to call setLocale to apply the new format settings

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.