Searched refs:commaify (Results 1 – 4 of 4) sorted by relevance
/plugin/amcharts/assets/amcharts/plugins/export/libs/xlsx/ |
H A D | xlsx.min.js | 2 …commaify(s){if(s.length<=3)return s;var j=s.length%3,o=s.substr(0,j);for(;j!=s.length;j+=3)o+=(o.l… function
|
H A D | xlsx.js | 335 function commaify(s) { function 428 if((r = fmt.match(/^#,##0(\.?)$/)) !== null) return sign + commaify(pad0r(aval,0)); 430 …return val < 0 ? "-" + write_num_flt(type, fmt, -val) : commaify(""+(Math.floor(val))) + "." + pad… 473 …return val < 0 ? "-" + write_num_flt(type, fmt, -val) : commaify(flr(val)).replace(/^\d,\d{3}$/,"0… 476 case "#,###": var x = commaify(pad0r(aval,0)); return x !== "0" ? sign + x : ""; 537 if((r = fmt.match(/^#,##0(\.?)$/)) !== null) return sign + commaify((""+aval)); 539 …return val < 0 ? "-" + write_num_int(type, fmt, -val) : commaify((""+val)) + "." + fill('0',r[1].l… 581 …return val < 0 ? "-" + write_num_int(type, fmt, -val) : commaify(""+val).replace(/^\d,\d{3}$/,"0$&… 584 case "#,###": var x = commaify(""+aval); return x !== "0" ? sign + x : "";
|
H A D | xlsx.min.map | 1 …Month","getDay","write_date","type","fmt","val","ss0","ss","tt","outl","commaify","j","write_num",…
|
/plugin/xlsx2dw/packages/xlsx/ |
H A D | xlsx.mjs | 638 function commaify(s/*:string*/)/*:string*/ { function 748 if((r = fmt.match(/^#{1,3},##0(\.?)$/))) return sign + commaify(pad0r(aval,0)); 750 …return val < 0 ? "-" + write_num_flt(type, fmt, -val) : commaify(""+(Math.floor(val) + carry(val, … 793 …return val < 0 ? "-" + write_num_flt(type, fmt, -val) : commaify(flr(val)).replace(/^\d,\d{3}$/,"0… 799 case "#,###": var x = commaify(pad0r(aval,0)); return x !== "0" ? sign + x : ""; 868 if((r = fmt.match(/^#{1,3},##0(\.?)$/))) return sign + commaify((""+aval)); 870 …return val < 0 ? "-" + write_num_int(type, fmt, -val) : commaify((""+val)) + "." + fill('0',r[1].l… 912 …return val < 0 ? "-" + write_num_int(type, fmt, -val) : commaify(""+val).replace(/^\d,\d{3}$/,"0$&… 917 case "#,###": var x = commaify(""+aval); return x !== "0" ? sign + x : ""; 22067 if(parsexmlbool(y["grouping"])) tNF = commaify(fill("#", Math.max(0, 4 - tNF.length)) + tNF);
|