这将返回到2的平方根的1.414左右。

语法


math.sqrt2




实例uff1a




Javascript的数学SQRT2财产



无功property_value = math.sqrt2
document.write(属性值为:+ property_value);







这将产生以下结果:


属性值为:1.4142135623730951