JScript
语言参考
sqrt 方法
返回数字的平方根。
Math.sqrt(
number
)
必选项
number
参数是
数值表达式
。
说明
如果
number
为负数,则返回值为零。
要求
版本 1
请参阅
SQRT2 属性
应用于:
Math 对象