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
};
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