BC高精準度函式庫

bcsqrt

(PHP3 , PHP4)

bcsqrt ---  取得高精準度數字的平方根

語法 : string bcsqrt(string operand, int scale);

說明 : 

傳回參數operand平方根的值。參數scale是非必需的,scale是用來設定傳回的值到小數點第幾位。

參考 : bcpow( )


上一頁 首頁 下一頁