Results of 1 - 10 of about 1357 for Number (0.007 sec.)
- 任意精度数値を丸める 5345
- « BcMath\Number::powmod BcMath\Number::__serialize » PHP Manual BcMath\Number 任意精度数値を丸める 検索 BcMath\Number::round (PHP 8 >= 8.4.0) BcMath\Number::round — 任意精度数値を丸める 説明 public function BcMath\Number::round ( int $preci
... sion = 0 , RoundingMode $mode = RoundingMode::HalfAwayFromZero ): BcMath\Number $this を、指定した precision (小数点以下の桁数)に丸めた値を返します。 precision を負またはゼロ(デフォルト) とすることも可能 ... 丸められる、という具合です。 mode 指定する丸めモード。詳しくは RoundingMode を参照してください。 戻り値 結果を新しい BcMath\Number オブジェクトとして返します。 エラー / 例外 このメソッドは、無効な mode が指定された場合に ValueError をスローします。 例 例 ... 1 BcMath\Number::round() の例 <?php var_dump ( new BcMath\Number ( '3.4' )-> round (), new BcMath\Number ( '3.5' )-> round (), new BcMath\ ...
-
https://man.mtool.work/php/8.3/bcmath-number.round.html
- 任意精度数値を丸める 5345
- « BcMath\Number::powmod BcMath\Number::__serialize » PHP Manual BcMath\Number 任意精度数値を丸める 検索 BcMath\Number::round (PHP 8 >= 8.4.0) BcMath\Number::round — 任意精度数値を丸める 説明 public function BcMath\Number::round ( int $preci
... sion = 0 , RoundingMode $mode = RoundingMode::HalfAwayFromZero ): BcMath\Number $this を、指定した precision (小数点以下の桁数)に丸めた値を返します。 precision を負またはゼロ(デフォルト) とすることも可能 ... 丸められる、という具合です。 mode 指定する丸めモード。詳しくは RoundingMode を参照してください。 戻り値 結果を新しい BcMath\Number オブジェクトとして返します。 エラー / 例外 このメソッドは、無効な mode が指定された場合に ValueError をスローします。 例 例 ... 1 BcMath\Number::round() の例 <?php var_dump ( new BcMath\Number ( '3.4' )-> round (), new BcMath\Number ( '3.5' )-> round (), new BcMath\ ...
-
https://man.mtool.work/php/8.3/bcmath-number.round.html
- 任意精度数値の除算を行う 5246
- « BcMath\Number::__construct BcMath\Number::divmod » PHP Manual BcMath\Number 任意精度数値の除算を行う 検索 BcMath\Number::div (PHP 8 >= 8.4.0) BcMath\Number::div — 任意精度数値の除算を行う 説明 public function BcMath\Number::div ( BcMath\Number
... umber | string | int $num , ? int $scale = null ): BcMath\Number $this を num で割ります。 パラメータ num 除数を表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定し ... ます。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 除算結果を新しい BcMath\Number オブジェクトとして返します。 除算結果オブジェクトの ... BcMath\Number::scale が自動的に設定される場合、被除数の BcMath\Number::scale が使用されます。ただし、割り切れない除算の場合は、 除算結果 ...
-
https://man.mtool.work/php/8.3/bcmath-number.div.html
- 任意精度数値の除算を行う 5246
- « BcMath\Number::__construct BcMath\Number::divmod » PHP Manual BcMath\Number 任意精度数値の除算を行う 検索 BcMath\Number::div (PHP 8 >= 8.4.0) BcMath\Number::div — 任意精度数値の除算を行う 説明 public function BcMath\Number::div ( BcMath\Number
... umber | string | int $num , ? int $scale = null ): BcMath\Number $this を num で割ります。 パラメータ num 除数を表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定し ... ます。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 除算結果を新しい BcMath\Number オブジェクトとして返します。 除算結果オブジェクトの ... BcMath\Number::scale が自動的に設定される場合、被除数の BcMath\Number::scale が使用されます。ただし、割り切れない除算の場合は、 除算結果 ...
-
https://man.mtool.work/php/8.3/bcmath-number.div.html
- BcMath\Number クラス 5120
- « bcsub BcMath\Number::add » PHP Manual BC Math BcMath\Number クラス 検索 BcMath\Number クラス (PHP 8 >= 8.4.0) はじめに 任意精度数値のクラスです。 このオブジェクトは、オーバーロードされた 算術演算子 , 比較演算子 をサポートしています。 注意
... は、対応するメソッドで scale パラメータに null を指定した場合と同じです。 クラス概要 namespace BcMath ; final readonly class Number implements Stringable { /* プロパティ */ public string $ value ; public int $ scale ; /* メソッド */ public function __con ... struct ( string | int $num ) public function add ( BcMath\Number | string | int $num , ? int $scale = null ): BcMath\Number public function ceil (): BcMath\Number public function compare ... ( BcMath\Number | string | int $num , ? int $scale = null ): int public function div ( BcMath\Number | string | int $num , ? int $scale = ...
-
https://man.mtool.work/php/8.3/class.bcmath-number.html
- BcMath\Number クラス 5120
- « bcsub BcMath\Number::add » PHP Manual BC Math BcMath\Number クラス 検索 BcMath\Number クラス (PHP 8 >= 8.4.0) はじめに 任意精度数値のクラスです。 このオブジェクトは、オーバーロードされた 算術演算子 , 比較演算子 をサポートしています。 注意
... は、対応するメソッドで scale パラメータに null を指定した場合と同じです。 クラス概要 namespace BcMath ; final readonly class Number implements Stringable { /* プロパティ */ public string $ value ; public int $ scale ; /* メソッド */ public function __con ... struct ( string | int $num ) public function add ( BcMath\Number | string | int $num , ? int $scale = null ): BcMath\Number public function ceil (): BcMath\Number public function compare ... ( BcMath\Number | string | int $num , ? int $scale = null ): int public function div ( BcMath\Number | string | int $num , ? int $scale = ...
-
https://man.mtool.work/php/8.3/class.bcmath-number.html
- 任意精度数値の乗算を行う 5087
- « BcMath\Number::mod BcMath\Number::pow » PHP Manual BcMath\Number 任意精度数値の乗算を行う 検索 BcMath\Number::mul (PHP 8 >= 8.4.0) BcMath\Number::mul — 任意精度数値の乗算を行う 説明 public function BcMath\Number::mul ( BcMath\Number | str
... ing | int $num , ? int $scale = null ): BcMath\Number $this に num を掛けます。 パラメータ num 乗数を表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定し ... ます。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 乗算結果を新しい BcMath\Number オブジェクトとして返します。 乗算結果オブジェクトの ... BcMath\Number::scale が自動的に設定される場合、乗算に使用する2つの数値の BcMath\Number::scale の合計値が使用されます。 つまり、2つの値の ...
-
https://man.mtool.work/php/8.3/bcmath-number.mul.html
- 任意精度数値をべき乗する 5087
- « BcMath\Number::mul BcMath\Number::powmod » PHP Manual BcMath\Number 任意精度数値をべき乗する 検索 BcMath\Number::pow (PHP 8 >= 8.4.0) BcMath\Number::pow — 任意精度数値をべき乗する 説明 public function BcMath\Number::pow ( BcMath\Number |
... string | int $exponent , ? int $scale = null ): BcMath\Number $this の exponent 乗を求めます。 パラメータ exponent 指数を表す値。整数値でなければなりません。 exponent の有効な範囲はプラ ... トフォームに依存しますが、少なくとも -2147483648 から 2147483647 までの範囲を持ちます。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 べき乗の結果を新 ... しい BcMath\Number オブジェクトとして返します。 べき乗結果オブジェクトの BcMath\Number::scale が自動的に設定される場合、 exponent の値に応じて ...
-
https://man.mtool.work/php/8.3/bcmath-number.pow.html
- 任意精度数値の乗算を行う 5071
- « BcMath\Number::mod BcMath\Number::pow » PHP Manual BcMath\Number 任意精度数値の乗算を行う 検索 BcMath\Number::mul (PHP 8 >= 8.4.0) BcMath\Number::mul — 任意精度数値の乗算を行う 説明 public function BcMath\Number::mul ( BcMath\Number | str
... ing | int $num , ? int $scale = null ): BcMath\Number $this に num を掛けます。 パラメータ num 乗数を表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定し ... ます。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 乗算結果を新しい BcMath\Number オブジェクトとして返します。 乗算結果オブジェクトの ... BcMath\Number::scale が自動的に設定される場合、乗算に使用する2つの数値の BcMath\Number::scale の合計値が使用されます。 つまり、2つの値の ...
-
https://man.mtool.work/php/8.3/bcmath-number.mul.html
- 任意精度数値をべき乗する 5071
- « BcMath\Number::mul BcMath\Number::powmod » PHP Manual BcMath\Number 任意精度数値をべき乗する 検索 BcMath\Number::pow (PHP 8 >= 8.4.0) BcMath\Number::pow — 任意精度数値をべき乗する 説明 public function BcMath\Number::pow ( BcMath\Number |
... string | int $exponent , ? int $scale = null ): BcMath\Number $this の exponent 乗を求めます。 パラメータ exponent 指数を表す値。整数値でなければなりません。 exponent の有効な範囲はプラ ... トフォームに依存しますが、少なくとも -2147483648 から 2147483647 までの範囲を持ちます。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 べき乗の結果を新 ... しい BcMath\Number オブジェクトとして返します。 べき乗結果オブジェクトの BcMath\Number::scale が自動的に設定される場合、 exponent の値に応じて ...
-
https://man.mtool.work/php/8.3/bcmath-number.pow.html