toExponential

種類メソッド
書式 数値.toExponential(指数位置)
解説
指数形式表示(値e+値)にします。
サンプルコード
num = 12345.67;
n = num.toExponential(4);
alert(n);
実際のスクリプトをダウンロード