BC高精準度函式庫

bcdiv

(PHP3 , PHP4)

bcdiv ---  將二個高精準度數字相除

語法 : string bcdiv(string left operand, string right operand [ , int scale] );

說明 : 

將參數left operand除以right operand,且傳回結果。參數scale是非必需的,scale是用來設定傳回的值到小數點第幾位。

參考 : bcmul( )


上一頁 首頁 下一頁