WMLScript int() 関数

int() 関数は x パラメータの整数部分を返します。

構文

n = Float.int(x)
構成要素 説明
n この関数が返す整数。
x 一つの数。

var a = Float.int(5.32);

結果

a = 5