Home
last modified time | relevance | path

Searched refs:currency (Results 1 – 25 of 61) sorted by relevance

123

/PHP-7.2/ext/intl/tests/
H A Dformatter_parse_currency.phpt18 $currency = '';
19 $num = ut_nfmt_parse_currency( $fmt, '$9,988,776.65', $currency, $pos );
20 $res_str .= "$num $currency\n";
24 $currency = '';
25 $num = ut_nfmt_parse_currency( $fmt, ' $123.45', $currency, $pos );
26 $res_str .= "$num $currency\n";
H A Dcollator_create.phpt21 'uk-ua_CALIFORNIA@currency=;currency=GRN',
24 'uk@currency=EURO',
66 Locale: 'uk-ua_CALIFORNIA@currency=;currency=GRN'
67 ULOC_REQUESTED_LOCALE = 'uk-ua_CALIFORNIA@currency=;currency=GRN'
78 Locale: 'uk@currency=EURO'
79 ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
H A Dcollator_create2.phpt22 'uk-ua_CALIFORNIA@currency=;currency=GRN',
25 'uk@currency=EURO',
67 Locale: 'uk-ua_CALIFORNIA@currency=;currency=GRN'
68 ULOC_REQUESTED_LOCALE = 'uk-ua_CALIFORNIA@currency=;currency=GRN'
79 Locale: 'uk@currency=EURO'
80 ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
H A Dcollator_create3.phpt22 'uk-ua_CALIFORNIA@currency=;currency=GRN',
25 'uk@currency=EURO',
67 Locale: 'uk-ua_CALIFORNIA@currency=;currency=GRN'
68 ULOC_REQUESTED_LOCALE = 'uk-ua_CALIFORNIA@currency=;currency=GRN'
79 Locale: 'uk@currency=EURO'
80 ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
H A Dcollator_create4.phpt21 'uk-ua_CALIFORNIA@currency=;currency=GRN',
24 'uk@currency=EURO',
66 Error creating collator with 'uk-ua_CALIFORNIA@currency=;currency=GRN' locale: collator_create: una…
75 Locale: 'uk@currency=EURO'
76 ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
H A Dformatter_format_currency.phpt14 * currency formatting.
31 foreach( $locales as $locale => $currency )
34 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
H A Dformatter_format_currency2.phpt14 * currency formatting.
31 foreach( $locales as $locale => $currency )
34 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
H A Dlocale_set_default.phpt18 'uk-ua_CALIFORNIA@currency=;currency=GRN',
20 'uk@currency=EURO',
98 uk-ua_CALIFORNIA@currency=;currency=GRN: set locale 'uk-ua_CALIFORNIA@currency=;currency=GRN'
100 uk@currency=EURO: set locale 'uk@currency=EURO'
H A Dlocale_get_keywords.phpt19 "de_DE@currency=EUR;collation=PHONEBOOK",
20 'uk-ua_CALIFORNIA@currency=GRN'
24 'de_DE@currency=EUR;collation=PHONEBOOK',
26 'uk@currency=EURO',
102 de_DE@currency=EUR;collation=PHONEBOOK: Key is collation and Value is PHONEBOOK
103 Key is currency and Value is EUR
106 uk@currency=EURO: Key is currency and Value is EURO
H A Dlocale_get_script.phpt17 'uk-ua_CALIFORNIA@currency=;currency=GRN',
19 'uk@currency=EURO',
86 uk-ua_CALIFORNIA@currency=;currency=GRN: script=''
88 uk@currency=EURO: script=''
H A Dbug12887.phpt11 $keywords_arr = ut_loc_get_keywords( 'de_DE@currency=EUR;collation=PHONEBOOK;sort=PHONEBOOK' );
28 currency = EUR
H A Dlocale_get_keywords2.phpt19 "de_DE@currency=EUR;collation=PHONEBOOK",
20 'uk-ua_CALIFORNIA@currency=GRN'
24 'de_DE@currency=EUR;collation=PHONEBOOK',
26 'uk@currency=EURO',
102 de_DE@currency=EUR;collation=PHONEBOOK: Key is collation and Value is PHONEBOOK
103 Key is currency and Value is EUR
106 uk@currency=EURO: Key is currency and Value is EURO
H A Dformatter_get_error.phpt16 $currency = '';
18 $num = ut_nfmt_parse_currency( $fmt, '123.45', $currency, $pos );
H A Dlocale_get_primary_language.phpt18 'uk-ua_CALIFORNIA@currency=;currency=GRN',
20 'uk@currency=EURO',
87 uk-ua_CALIFORNIA@currency=;currency=GRN: primary_language='uk'
89 uk@currency=EURO: primary_language='uk'
H A Dlocale_get_region.phpt18 'uk-ua_CALIFORNIA@currency=;currency=GRN',
20 'uk@currency=EURO',
88 uk-ua_CALIFORNIA@currency=;currency=GRN: region='UA'
90 uk@currency=EURO: region=''
H A Dmsgfmt_format_simple_types_numeric_strings.phpt20 number currency {d,number,currency}
50 number currency $1,336,317,965.50
H A Dlocale_parse_locale.phpt19 'uk-ua_CALIFORNIA@currency=;currency=GRN',
21 'uk@currency=EURO',
100 uk-ua_CALIFORNIA@currency=;currency=GRN:
106 uk@currency=EURO:
H A Dlocale_parse_locale2.phpt19 'uk-ua_CALIFORNIA@currency=;currency=GRN',
21 'uk@currency=EURO',
101 uk-ua_CALIFORNIA@currency=;currency=GRN:
107 uk@currency=EURO:
H A Dlocale_get_all_variants.phpt26 'sl_IT_rozaj@currency=EUR'
62 sl_IT_rozaj@currency=EUR : variants 'ROZAJ',
H A Dlocale_get_display_script.phpt21 'uk-ua_CALIFORNIA@currency=;currency=GRN',
23 'uk@currency=EURO',
96 locale='uk-ua_CALIFORNIA@currency=;currency=GRN'
106 locale='uk@currency=EURO'
/PHP-7.2/ext/intl/doc/
H A Dformatter_api.php204 * @param string $currency 3-letter currency code (ISO 4217) to use in format
206 public function formatCurrency($number, $currency) {} argument
215 * @param string $currency Parameter to return parsed currency code
221 public function parseCurrency($string, &$currency, &$position) {} argument
374 * @param string $currency 3-letter currency code (ISO 4217) to use in format
376 function numfmt_format_currency($formatter, $number, $currency) {} argument
385 * @param string $currency Parameter to return parsed currency code
389 function numfmt_parse_currency($formatter, $string, &$currency, &$position) {} argument
/PHP-7.2/ext/standard/tests/strings/
H A Dmoney_format_basic1.phpt2 Test money_format() function : basic functionality using national currency symbols
12 * Description: Formats a number as a currency string
52 // Same again but suppress currency symbol
53 echo "Format again suppress currency symbol\n";
76 Format again suppress currency symbol
H A Dsetlocale_basic1.phpt48 Check the currency settings in the new locale */
65 //set of currency symbol according to above list of locales
106 //checking currency settings in the new locale to see if the setlocale() was effective
108 echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$value].", Found: …
122 Checking currency settings in the new locale, expected: %s, Found: %s
/PHP-7.2/ext/intl/formatter/
H A Dformatter_parse.c130 UChar currency[5] = {0}; in PHP_FUNCTION() local
165 …number = unum_parseDoubleCurrency(FORMATTER_OBJECT(nfo), sstr, sstr_len, position_p, currency, &IN… in PHP_FUNCTION()
176 u8str = intl_convert_utf16_to_utf8(currency, u_strlen(currency), &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
H A Dformatter_format.c143 char* currency = NULL; in PHP_FUNCTION() local
151 &object, NumberFormatter_ce_ptr, &number, &currency, &currency_len ) == FAILURE ) in PHP_FUNCTION()
163 …intl_convert_utf8_to_utf16(&scurrency, &scurrency_len, currency, currency_len, &INTL_DATA_ERROR_CO… in PHP_FUNCTION()

Completed in 28 milliseconds

123