« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 102 for BcMath (0.003 sec.)
BcMath\Number クラス 8605
« bcsub BcMath\Number::add » PHP Manual BC Math BcMath\Number クラス 検索 BcMath\Number クラス (PHP 8 >= 8.4.0) はじめに 任意精度数値のクラスです。 このオブジェクトは、オーバーロードされた 算術演算子 , 比較演算子 をサポートしています。 注意 ... : このクラスは、 php.ini で設定された bcmath.scale INI ディレクティブの影響を受けません。 注意 : オーバーロードされた演算子の動作は、対応するメソッドで scale パラメータ ... に null を指定した場合と同じです。 クラス概要 namespace BcMath ; final readonly class Number implements Stringable { /* プロパティ */ public string $ value ; public int $ scale ; /* メソ ... ッド */ public function __construct ( string | int $num ) public function add ( BcMath\Number | string | int $num , ? int $scale = null ): BcMath\Number public function ceil (): BcMath\Number public function c ...
https://man.mtool.work/php/8.3/class.bcmath-number.html
BcMath\Number クラス 8605
« bcsub BcMath\Number::add » PHP Manual BC Math BcMath\Number クラス 検索 BcMath\Number クラス (PHP 8 >= 8.4.0) はじめに 任意精度数値のクラスです。 このオブジェクトは、オーバーロードされた 算術演算子 , 比較演算子 をサポートしています。 注意 ... : このクラスは、 php.ini で設定された bcmath.scale INI ディレクティブの影響を受けません。 注意 : オーバーロードされた演算子の動作は、対応するメソッドで scale パラメータ ... に null を指定した場合と同じです。 クラス概要 namespace BcMath ; final readonly class Number implements Stringable { /* プロパティ */ public string $ value ; public int $ scale ; /* メソ ... ッド */ public function __construct ( string | int $num ) public function add ( BcMath\Number | string | int $num , ? int $scale = null ): BcMath\Number public function ceil (): BcMath\Number public function c ...
https://man.mtool.work/php/8.3/class.bcmath-number.html
任意精度数値を丸める 8592
« 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 ...
https://man.mtool.work/php/8.3/bcmath-number.round.html
任意精度数値を丸める 8592
« 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 ...
https://man.mtool.work/php/8.3/bcmath-number.round.html
任意精度数値の除算を行う 8437
« 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\N ... 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
任意精度数値の除算を行う 8411
« 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\N ... 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
任意精度数値のべき乗の、指定した数値による剰余 8282
« BcMath\Number::pow BcMath\Number::round » PHP Manual BcMath\Number 任意精度数値のべき乗の、指定した数値による剰余 検索 BcMath\Number::powmod (PHP 8 >= 8.4.0) BcMath\Number::powmod — 任意精度数値のべき乗の、指定した数値による剰余 説明 publ ... ic function BcMath\Number::powmod ( BcMath\Number | string | int $exponent , BcMath\Number | string | int $modulus , ? int $scale = null ): B ... いけません) modulus 指数を表す、負でない、整数の値。 (つまり、scale は 0 でなければいけません) scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 計算結果 ... を新しい BcMath\Number オブジェクトとして返します。 計算結果オブジェクトの BcMath\Number::scale が自動的に設定される場合、常に 0 になります ...
https://man.mtool.work/php/8.3/bcmath-number.powmod.html
任意精度数値のべき乗の、指定した数値による剰余 8243
« BcMath\Number::pow BcMath\Number::round » PHP Manual BcMath\Number 任意精度数値のべき乗の、指定した数値による剰余 検索 BcMath\Number::powmod (PHP 8 >= 8.4.0) BcMath\Number::powmod — 任意精度数値のべき乗の、指定した数値による剰余 説明 publ ... ic function BcMath\Number::powmod ( BcMath\Number | string | int $exponent , BcMath\Number | string | int $modulus , ? int $scale = null ): B ... いけません) modulus 指数を表す、負でない、整数の値。 (つまり、scale は 0 でなければいけません) scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 計算結果 ... を新しい BcMath\Number オブジェクトとして返します。 計算結果オブジェクトの BcMath\Number::scale が自動的に設定される場合、常に 0 になります ...
https://man.mtool.work/php/8.3/bcmath-number.powmod.html
任意精度数値の商と剰余を取得する 8243
« BcMath\Number::div BcMath\Number::floor » PHP Manual BcMath\Number 任意精度数値の商と剰余を取得する 検索 BcMath\Number::divmod (PHP 8 >= 8.4.0) BcMath\Number::divmod — 任意精度数値の商と剰余を取得する 説明 public function BcMath\Number::d ... ivmod ( BcMath\Number | string | int $num , ? int $scale = null ): array $this を num で割った商と剰余を取得します。 パラメータ num 除数を ... 表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 1つ目の要 ... 素に商として新しい BcMath\Number オブジェクトが、 2つ目の要素に剰余として新しい BcMath\Number オブジェクトが格納された配列を返します。 商は常に整数値 ...
https://man.mtool.work/php/8.3/bcmath-number.divmod.html
任意精度数値をべき乗する 8217
« 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
PREV 1 2 3 4 5 6 7 8 9 10 NEXT