define([],function(){var e,t,n,r;return t=[[3,"K"],[6,"million"],[9,"billion"],[12,"trillion"],[15,"quadrillion"],[18,"quintillion"],[21,"sextillion"],[24,"septillion"],[27,"octillion"],[30,"nonillion"],[33,"decillion"],[100,"googol"]],r=function(e){var r,i,s,o,u,a,f;if(e==null)return;if(e<1e3)return n(e);for(u=0,a=t.length;u<a;u++){f=t[u],r=f[0],o=f[1],i=Math.pow(10,r);if(e<i*1e3)return s=Math.round(e/i*10)/10,""+s+" "+o}},n=function(e,t){var n,r,i,s,o,u,a;t==null&&(t=",");if(e==null)return;a=e.toString().split("."),s=a[0],r=a[1],n=s.toString().split(""),o=n.length,i=o%3||3;while(i<o)n.splice(i,0,t),i+=4;return u=n.join(""),r&&(u+="."+r),u},e=function(e){if(e!==0){if(Math.abs(e)<.01)return e.toExponential(2);Math.round(e)!==e&&(e=e.toPrecision(3))}return r(e)},{toSuffixedNumber:r,toDelimitedNumber:n,prettyNumber:e}})