Home
last modified time | relevance | path

Searched refs:write_num_flt (Results 1 – 4 of 4) sorted by relevance

/plugin/amcharts/assets/amcharts/plugins/export/libs/xlsx/
H A Dxlsx.min.js2write_num_flt(type,fmt,val){if(type.charCodeAt(0)===40&&!fmt.match(closeparen)){var ffmt=fmt.repla… function
H A Dxlsx.js401 function write_num_flt(type, fmt, val) {
404 if(val >= 0) return write_num_flt('n', ffmt, val);
405 return '(' + write_num_flt('n', ffmt, -val) + ')';
410 if(fmt.charCodeAt(0) === 36) return "$"+write_num_flt(type,fmt.substr(fmt[1]==' '?2:1),val);
430 …return val < 0 ? "-" + write_num_flt(type, fmt, -val) : commaify(""+(Math.floor(val))) + "." + pad…
432 … if((r = fmt.match(/^#,#*,#0/)) !== null) return write_num_flt(type,fmt.replace(/^#,#*,/,""),val);
434 o = _strrev(write_num_flt(type, fmt.replace(/[\\-]/g,""), val));
439 o = write_num_flt(type, "##########", val);
473 …return val < 0 ? "-" + write_num_flt(type, fmt, -val) : commaify(flr(val)).replace(/^\d,\d{3}$/,"0…
590 return (val|0) === val ? write_num_int(type, fmt, val) : write_num_flt(type, fmt, val);
H A Dxlsx.min.map1 …dec1","closeparen","phone","hashq","str","cc","rnd","dd","dec","flr","write_num_flt","ffmt","oo","…
/plugin/xlsx2dw/packages/xlsx/
H A Dxlsx.mjs721 function write_num_flt(type/*:string*/, fmt/*:string*/, val/*:number*/)/*:string*/ { function
724 if(val >= 0) return write_num_flt('n', ffmt, val);
725 return '(' + write_num_flt('n', ffmt, -val) + ')';
730 if(fmt.charCodeAt(0) === 36) return "$"+write_num_flt(type,fmt.substr(fmt.charAt(1)==' '?2:1),val);
752 if((r = fmt.match(/^#,#*,#0/))) return write_num_flt(type,fmt.replace(/^#,#*,/,""),val);
754 o = _strrev(write_num_flt(type, fmt.replace(/[\\-]/g,""), val));
759 o = write_num_flt(type, "##########", val);
796 case "###,##0.00": return write_num_flt(type, "#,##0.00", val);
800 case "###,###.00": return write_num_flt(type, "###,##0.00",val).replace(/^0\./,".");
801 case "#,###.00": return write_num_flt(type, "#,##0.00",val).replace(/^0\./,".");
[all …]