priceFormat

formats a number as a price string

string priceFormat(numbernumber);
numbernumberthe number to format
stringa price string

Example

webix.i18n.priceFormat(1.23455); //$1.23

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.