? 本文檔使用 php中文網(wǎng)手冊 發(fā)布
返回數(shù)字的平方根。
Math.sqrt(number)
必選項 number 參數(shù)是數(shù)值表達(dá)式。
如果 number 為負(fù)數(shù),則返回值為零。
版本 1
Math 對象方法 | SQRT1_2 屬性 | SQRT2 屬性
應(yīng)用于: Math 對象