Widgets
Samples
Demos
Forum
Services
Documentation
dateFormatDate
dateFormatStr
fullDateFormatDate
fullDateFormatStr
intFormat
longDateFormatDate
longDateFormatStr
numberFormat
parseFormatDate
parseFormatStr
parseTimeFormatDate
parseTimeFormatStr
priceFormat
setLocale
timeFormatDate
timeFormatStr
Start
API Reference
i18n
Methods
priceFormat
formats a number as a price string
string
priceFormat
(
number
number
);
number
number
the number to format
string
a price string
Example
webix.
i18n
.
priceFormat
(
1.23455
)
;
//$1.23
Back to top