gmp_mul

(PHP 4 >= 4.0.4, PHP 5)

gmp_mul -- 数値を乗算する

説明

resource gmp_mul ( resource a, resource b )

ab をかけ、 結果を返します。

例 1. gmp_mul() の例

<?php
$mul
= gmp_mul("12345678", "2000");
echo
gmp_strval($mul) . "\n";
?>

上のプログラムの出力は以下のようになります。

24691356000