« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 52 for Digits (0.002 sec.)
属性を取得する 12037
« NumberFormatter::formatCurrency NumberFormatter::getErrorCode » PHP Manual NumberFormatter 属性を取得する 検索 NumberFormatter::getAttribute numfmt_get_attribute (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) NumberFormatter::getAttri ... を返します。 例 例1 numfmt_get_attribute() の例 <?php $fmt = numfmt_create ( 'de_DE' , NumberFormatter :: DECIMAL ); echo "Digits: " . numfmt_get_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo numfmt_format ( $fmt , 1234567.89 ... 1234567890000 ). "\n" ; numfmt_set_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS , 2 ); echo "Digits: " . numfmt_get_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo numfmt_format ... 000 ). "\n" ; ?> 例2 オブジェクト指向の例 <?php $fmt = new NumberFormatter ( 'de_DE' , NumberFormatter :: DECIMAL ); echo "Digits: " . $fmt -> getAttribute ( NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo $fmt -> format ( 1234567.891234567890000 ...
https://man.mtool.work/php/8.3/numberformatter.getattribute.html
属性を取得する 11993
« NumberFormatter::formatCurrency NumberFormatter::getErrorCode » PHP Manual NumberFormatter 属性を取得する 検索 NumberFormatter::getAttribute numfmt_get_attribute (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) NumberFormatter::getAttri ... を返します。 例 例1 numfmt_get_attribute() の例 <?php $fmt = numfmt_create ( 'de_DE' , NumberFormatter :: DECIMAL ); echo "Digits: " . numfmt_get_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo numfmt_format ( $fmt , 1234567.89 ... 1234567890000 ). "\n" ; numfmt_set_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS , 2 ); echo "Digits: " . numfmt_get_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo numfmt_format ... 000 ). "\n" ; ?> 例2 オブジェクト指向の例 <?php $fmt = new NumberFormatter ( 'de_DE' , NumberFormatter :: DECIMAL ); echo "Digits: " . $fmt -> getAttribute ( NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo $fmt -> format ( 1234567.891234567890000 ...
https://man.mtool.work/php/8.3/numberformatter.getattribute.html
属性を設定する 11545
« NumberFormatter::parseCurrency NumberFormatter::setPattern » PHP Manual NumberFormatter 属性を設定する 検索 NumberFormatter::setAttribute numfmt_set_attribute (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) NumberFormatter::setAttribut ... を返します。 例 例1 numfmt_set_attribute() の例 <?php $fmt = numfmt_create ( 'de_DE' , NumberFormatter :: DECIMAL ); echo "Digits: " . numfmt_get_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo numfmt_format ( $fmt , 1234567.89 ... 1234567890000 ). "\n" ; numfmt_set_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS , 2 ); echo "Digits: " . numfmt_get_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo numfmt_format ... 000 ). "\n" ; ?> 例2 オブジェクト指向の例 <?php $fmt = new NumberFormatter ( 'de_DE' , NumberFormatter :: DECIMAL ); echo "Digits: " . $fmt -> getAttribute ( NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo $fmt -> format ( 1234567.891234567890000 ...
https://man.mtool.work/php/8.3/numberformatter.setattribute.html
属性を設定する 11485
« NumberFormatter::parseCurrency NumberFormatter::setPattern » PHP Manual NumberFormatter 属性を設定する 検索 NumberFormatter::setAttribute numfmt_set_attribute (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) NumberFormatter::setAttribut ... を返します。 例 例1 numfmt_set_attribute() の例 <?php $fmt = numfmt_create ( 'de_DE' , NumberFormatter :: DECIMAL ); echo "Digits: " . numfmt_get_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo numfmt_format ( $fmt , 1234567.89 ... 1234567890000 ). "\n" ; numfmt_set_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS , 2 ); echo "Digits: " . numfmt_get_attribute ( $fmt , NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo numfmt_format ... 000 ). "\n" ; ?> 例2 オブジェクト指向の例 <?php $fmt = new NumberFormatter ( 'de_DE' , NumberFormatter :: DECIMAL ); echo "Digits: " . $fmt -> getAttribute ( NumberFormatter :: MAX_FRACTION_DIGITS ). "\n" ; echo $fmt -> format ( 1234567.891234567890000 ...
https://man.mtool.work/php/8.3/numberformatter.setattribute.html
NumberFormatter クラス 9454
« Collator::sortWithSortKeys NumberFormatter::create » PHP Manual intl NumberFormatter クラス 検索 NumberFormatter クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) はじめに プログラムで数値を保存したり操作したりする際には、 ロケール ... int PARSE_INT_ONLY ; public const int GROUPING_USED ; public const int DECIMAL_ALWAYS_SHOWN ; public const int MAX_INTEGER_DIGITS ; public const int MIN_INTEGER_DIGITS ; public const int INTEGER_DIGITS ; public const int MAX_FRACTION_DIGITS ; public co ... nst int MIN_FRACTION_DIGITS ; public const int FRACTION_DIGITS ; public const int MULTIPLIER ; public const int GROUPING_SIZE ; public const int ROUND ... FORMAT_WIDTH ; public const int PADDING_POSITION ; public const int SECONDARY_GROUPING_SIZE ; public const int SIGNIFICANT_DIGITS_USED ; public const int MIN_SIGNIFICANT_DIGITS ; public const int MAX_SIGNIFICANT_DIGITS ; public const int LENIENT_PARSE ...
https://man.mtool.work/php/8.3/class.numberformatter.html
NumberFormatter クラス 9454
« Collator::sortWithSortKeys NumberFormatter::create » PHP Manual intl NumberFormatter クラス 検索 NumberFormatter クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) はじめに プログラムで数値を保存したり操作したりする際には、 ロケール ... int PARSE_INT_ONLY ; public const int GROUPING_USED ; public const int DECIMAL_ALWAYS_SHOWN ; public const int MAX_INTEGER_DIGITS ; public const int MIN_INTEGER_DIGITS ; public const int INTEGER_DIGITS ; public const int MAX_FRACTION_DIGITS ; public co ... nst int MIN_FRACTION_DIGITS ; public const int FRACTION_DIGITS ; public const int MULTIPLIER ; public const int GROUPING_SIZE ; public const int ROUND ... FORMAT_WIDTH ; public const int PADDING_POSITION ; public const int SECONDARY_GROUPING_SIZE ; public const int SIGNIFICANT_DIGITS_USED ; public const int MIN_SIGNIFICANT_DIGITS ; public const int MAX_SIGNIFICANT_DIGITS ; public const int LENIENT_PARSE ...
https://man.mtool.work/php/8.3/class.numberformatter.html
16 進数を表す文字かどうかを調べる 8752
« ctype_upper フィルタ » PHP Manual Ctype 関数 16 進数を表す文字かどうかを調べる 検索 ctype_xdigit (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_xdigit — 16 進数を表す文字かどうかを調べる 説明 function ctype_xdigit ( mixed $text ): bool 与えら ... each ( $strings as $testcase ) { if ( ctype_xdigit ( $testcase )) { echo "The string $testcase consists of all hexadecimal digits.\n" ; } else { echo "The string $testcase does not consist of all hexadecimal digits.\n" ; } } ?> 上の例の出力は以下となり ... ます。 The string AB10BC99 consists of all hexadecimal digits. The string AR1012 does not consist of all hexadecimal digits. The string ab12bc99 consists of all hexadecimal digits. 参考 ... igit() - 数字かどうかを調べる IntlChar::isxdigit() - コードポイントが、16進数の文字であるかを調べる 関連キーワード: ctype xdigit string hexadecimal digits text 数字 testcase 場合 consists すべて コード ポイント false strings ab bc echo consist upper ...
https://man.mtool.work/php/8.3/function.ctype-xdigit.html
16 進数を表す文字かどうかを調べる 8752
« ctype_upper フィルタ » PHP Manual Ctype 関数 16 進数を表す文字かどうかを調べる 検索 ctype_xdigit (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_xdigit — 16 進数を表す文字かどうかを調べる 説明 function ctype_xdigit ( mixed $text ): bool 与えら ... each ( $strings as $testcase ) { if ( ctype_xdigit ( $testcase )) { echo "The string $testcase consists of all hexadecimal digits.\n" ; } else { echo "The string $testcase does not consist of all hexadecimal digits.\n" ; } } ?> 上の例の出力は以下となり ... ます。 The string AB10BC99 consists of all hexadecimal digits. The string AR1012 does not consist of all hexadecimal digits. The string ab12bc99 consists of all hexadecimal digits. 参考 ... うかを調べる IntlChar::isxdigit() - コードポイントが、16進数の文字であるかを調べる 関連キーワード: ctype xdigit hexadecimal digits text 数字 testcase consists コード ポイント strings consist upper フィルタ Ctype mixed 拡張 範囲 整数 推奨 将来 解釈 ユーザ ...
https://man.mtool.work/php/8.3/function.ctype-xdigit.html
数字かどうかを調べる 8557
« ctype_cntrl ctype_graph » PHP Manual Ctype 関数 数字かどうかを調べる 検索 ctype_digit (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_digit — 数字かどうかを調べる 説明 function ctype_digit ( mixed $text ): bool 与えられた文字列 text のすべての ... sl!12' ); foreach ( $strings as $testcase ) { if ( ctype_digit ( $testcase )) { echo "The string $testcase consists of all digits.\n" ; } else { echo "The string $testcase does not consist of all digits.\n" ; } } ?> 上の例の出力は以下となります。 The s ... tring 1820.20 does not consist of all digits. The string 10002 consists of all digits. The string wsl!12 does not consist of all digits. 例2 ctype_digit() で文字列と整 ... どうかを調べる IntlChar::isdigit() - コードポイントが、数字であるかを調べる 関連キーワード: ctype string digit 数字 numeric digits text true testcase 場合 false consist integer 変数 すべて int 整数 コード ポイント php ...
https://man.mtool.work/php/8.3/function.ctype-digit.html
数字かどうかを調べる 8557
« ctype_cntrl ctype_graph » PHP Manual Ctype 関数 数字かどうかを調べる 検索 ctype_digit (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_digit — 数字かどうかを調べる 説明 function ctype_digit ( mixed $text ): bool 与えられた文字列 text のすべての ... sl!12' ); foreach ( $strings as $testcase ) { if ( ctype_digit ( $testcase )) { echo "The string $testcase consists of all digits.\n" ; } else { echo "The string $testcase does not consist of all digits.\n" ; } } ?> 上の例の出力は以下となります。 The s ... tring 1820.20 does not consist of all digits. The string 10002 consists of all digits. The string wsl!12 does not consist of all digits. 例2 ctype_digit() で文字列と整 ... 文字列かどうかを調べる IntlChar::isdigit() - コードポイントが、数字であるかを調べる 関連キーワード: ctype digit 数字 numeric digits text testcase consist integer 変数 整数 コード ポイント strings consists cntrl graph Ctype mixed 拡張 範囲 推奨 将来 解釈 ...
https://man.mtool.work/php/8.3/function.ctype-digit.html
PREV 1 2 3 4 5 6 NEXT