摘要:
from:http://rockyee.iteye.com/blog/891538 1 Number.prototype.toFixed = function(scale){ 2 var s = this + ""; 3 if (!scale) scale = 0; 4 if (s.indexOf(".") == -1) s += "."; 5 s += new Array(scale + 1).join("0"); 6 if (new RegExp("^(-|\\+)?(\\d+(\\.\\d{0,&q 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"htmlxmlns="http://www.w3.org/1999/xhtml"headmetahttp-equiv="Content-Type"content= 阅读全文