Home
last modified time | relevance | path

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

/plugin/amcharts/assets/amcharts/plugins/export/libs/xlsx/
H A Dxlsx.min.js2write_num_int(type,fmt,val){if(type.charCodeAt(0)===40&&!fmt.match(closeparen)){var ffmt=fmt.repla… function
H A Dxlsx.js510 function write_num_int(type, fmt, val) {
513 if(val >= 0) return write_num_int('n', ffmt, val);
514 return '(' + write_num_int('n', ffmt, -val) + ')';
519 if(fmt.charCodeAt(0) === 36) return "$"+write_num_int(type,fmt.substr(fmt[1]==' '?2:1),val);
539 …return val < 0 ? "-" + write_num_int(type, fmt, -val) : commaify((""+val)) + "." + fill('0',r[1].l…
541 … if((r = fmt.match(/^#,#*,#0/)) !== null) return write_num_int(type,fmt.replace(/^#,#*,/,""),val);
543 o = _strrev(write_num_int(type, fmt.replace(/[\\-]/g,""), val));
548 o = write_num_int(type, "##########", val);
581 …return val < 0 ? "-" + write_num_int(type, fmt, -val) : commaify(""+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 …max","lres","rres","write_num_cm2","write_num_pct2","write_num_exp2","write_num_int","split_fmt","…
/plugin/xlsx2dw/packages/xlsx/
H A Dxlsx.mjs837 function write_num_int(type/*:string*/, fmt/*:string*/, val/*:number*/)/*:string*/ { function
840 if(val >= 0) return write_num_int('n', ffmt, val);
841 return '(' + write_num_int('n', ffmt, -val) + ')';
846 if(fmt.charCodeAt(0) === 36) return "$"+write_num_int(type,fmt.substr(fmt.charAt(1)==' '?2:1),val);
870 …return val < 0 ? "-" + write_num_int(type, fmt, -val) : commaify((""+val)) + "." + fill('0',r[1].l…
872 if((r = fmt.match(/^#,#*,#0/))) return write_num_int(type,fmt.replace(/^#,#*,/,""),val);
874 o = _strrev(write_num_int(type, fmt.replace(/[\\-]/g,""), val));
879 o = write_num_int(type, "##########", val);
912 …return val < 0 ? "-" + write_num_int(type, fmt, -val) : commaify(""+val).replace(/^\d,\d{3}$/,"0$&…
919 …if(fmt.match(/\.[0#?]*$/)) return write_num_int(type, fmt.slice(0,fmt.lastIndexOf(".")), val) + ha…
[all …]