BC高精準度函式庫

bcmul

(PHP3 , PHP4)

bcmul ---  將二個高精準度數字相乘

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

說明 : 

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

參考 : bcdiv( )


上一頁 首頁 下一頁