..
IsNumeric函数,布尔,返回真,如果作为一个参数值passatole是数字,假如果没有。
其语法如下:
的document.write(则IsNumeric(5))返回True
的document.write(则IsNumeric(“路加福音”))返回False。
DIM值 值=“路加福音” 如果则IsNumeric(价值)= false,则 的document.write(“E”数“) 其他 的document.write(“不是数字”) 结束如果返回“不是一个数字。”