Check documentation for the latest version of dhtmlxSuite setNumberFormat DHTMLX Docs


allows setting the format of numeric data (for inputs only)

void setNumberFormat(string name,string format,string groupSep,string decSep);


namestringthe name of an item
formatstringthe data format
groupSepstringa mark used to divide numbers with many digits into groups. By default - ”.” (dot)
decSepstringa mark used as a decimal delimiter. By default - ”,” (comma)


myForm.setNumberFormat("input5","$ 0,000.00","'",",");


for specifying the format parameter you should use the default group and decimal separators (”.” and ”,”).

Back to top