http://users.dickinson.edu/~braught/courses/cs131s99/Lessons/03-Out&Data.htmlに基づいて、可読性のために、JavaScriptは非常に大きな数値(絶対値が1021以上)を表示するために科学表記法を使用します。例えば、WRITE文Javascript:大規模なアンバーバムを表示するときの科学的表記の回避方法
document.write(1000000000000000000000000);
は出力 1e24
を生成する私は、科学的表記法の表示を避けることはできますか?
おかげ
http://stackoverflow.com/questions/610406/javascript-printf-string-format –