toFixed
メソッド
Type method
数.toFixed(小数点位置)
Numeric
format. ToFixed (decimal positions)
Commentary
小数点を指定した位置にします。
To specify the decimal position.
サンプルコード
Sample code
n = inputs[0].toFixed(1);
n = inputs [0]. toFixed (1);
outputs[0] = n;
outputs [0] = n;
ダウンロード
Download
the actual script