ceil
種類
メソッド
書式
Math.ceil(値)
解説
値を切り上げます。
サンプルコード
n = eval(prompt("Input Number",0.5));
alert("値を切り上げると"+Math.ceil(n)+"です");
実際のスクリプトを
ダウンロード