Lines Matching refs:period
356 var period = fmt.indexOf("."); if(period === -1) period=fmt.indexOf('E');
357 var ee = Math.floor(Math.log(Math.abs(val))*Math.LOG10E)%period;
358 if(ee < 0) ee += period;
359 o = (val/Math.pow(10,ee)).toPrecision(idx+1+(period+ee)%period);
365 o = o[0] + o.substr(2,period) + "." + o.substr(2+period);
370 …)\.(\d*)[Ee]/,function($$,$1,$2,$3) { return $1 + $2 + $3.substr(0,(period+ee)%period) + "." + $3.…
494 var period = fmt.indexOf("."); if(period === -1) period=fmt.indexOf('E');
495 var ee = Math.floor(Math.log(Math.abs(val))*Math.LOG10E)%period;
496 if(ee < 0) ee += period;
497 o = (val/Math.pow(10,ee)).toPrecision(idx+1+(period+ee)%period);
504 …)\.(\d*)[Ee]/,function($$,$1,$2,$3) { return $1 + $2 + $3.substr(0,(period+ee)%period) + "." + $3.…