ceil
種類
メソッド
書式
Math.ceil(値)
解説
値を切り上げます。
サンプルコード
function sampleCode()
{
txtField.data = Math.ceil(0.5);
}
sampleCode();
実際のスクリプトを
ダウンロード