/PHP-5.4/ext/intl/tests/ |
H A D | formatter_parse.phpt | 18 $fmt = ut_nfmt_create( "en_US", NumberFormatter::DECIMAL ); 22 $fmt = ut_nfmt_create( "en_US", NumberFormatter::DECIMAL ); 26 $fmt = ut_nfmt_create( "en_US", NumberFormatter::DECIMAL );
|
H A D | formatter_get_set_symbol.phpt | 18 … array( NumberFormatter::DECIMAL_SEPARATOR_SYMBOL, '_._', 12345.123456, NumberFormatter::DECIMAL ), 19 …array( NumberFormatter::GROUPING_SEPARATOR_SYMBOL, '_,_', 12345.123456, NumberFormatter::DECIMAL ), 20 … array( NumberFormatter::PATTERN_SEPARATOR_SYMBOL, '_;_', 12345.123456, NumberFormatter::DECIMAL ), 22 …OL' => array( NumberFormatter::ZERO_DIGIT_SYMBOL, '_ZD_', 12345.123456, NumberFormatter::DECIMAL ), 23 …_SYMBOL' => array( NumberFormatter::DIGIT_SYMBOL, '_DS_', 12345.123456, NumberFormatter::DECIMAL ), 24 …OL' => array( NumberFormatter::MINUS_SIGN_SYMBOL, '_-_', -12345.123456, NumberFormatter::DECIMAL ), 30 …YMBOL' => array( NumberFormatter::PERMILL_SYMBOL, '_PS_', 12345.123456, NumberFormatter::DECIMAL ), 31 …OL' => array( NumberFormatter::PAD_ESCAPE_SYMBOL, '_PE_', 12345.123456, NumberFormatter::DECIMAL ), 32 …MBOL' => array( NumberFormatter::INFINITY_SYMBOL, '_IS_', 12345.123456, NumberFormatter::DECIMAL ), 33 …NAN_SYMBOL' => array( NumberFormatter::NAN_SYMBOL, '_N_', 12345.123456, NumberFormatter::DECIMAL ), [all …]
|
H A D | formatter_get_set_symbol2.phpt | 18 … array( NumberFormatter::DECIMAL_SEPARATOR_SYMBOL, '_._', 12345.123456, NumberFormatter::DECIMAL ), 19 …array( NumberFormatter::GROUPING_SEPARATOR_SYMBOL, '_,_', 12345.123456, NumberFormatter::DECIMAL ), 20 … array( NumberFormatter::PATTERN_SEPARATOR_SYMBOL, '_;_', 12345.123456, NumberFormatter::DECIMAL ), 22 …OL' => array( NumberFormatter::ZERO_DIGIT_SYMBOL, '_ZD_', 12345.123456, NumberFormatter::DECIMAL ), 23 …_SYMBOL' => array( NumberFormatter::DIGIT_SYMBOL, '_DS_', 12345.123456, NumberFormatter::DECIMAL ), 24 …OL' => array( NumberFormatter::MINUS_SIGN_SYMBOL, '_-_', -12345.123456, NumberFormatter::DECIMAL ), 30 …YMBOL' => array( NumberFormatter::PERMILL_SYMBOL, '_PS_', 12345.123456, NumberFormatter::DECIMAL ), 31 …OL' => array( NumberFormatter::PAD_ESCAPE_SYMBOL, '_PE_', 12345.123456, NumberFormatter::DECIMAL ), 32 …MBOL' => array( NumberFormatter::INFINITY_SYMBOL, '_IS_', 12345.123456, NumberFormatter::DECIMAL ), 33 …NAN_SYMBOL' => array( NumberFormatter::NAN_SYMBOL, '_N_', 12345.123456, NumberFormatter::DECIMAL ), [all …]
|
H A D | bug59597_32.phpt | 9 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL); 13 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL);
|
H A D | bug59597_64.phpt | 9 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL); 13 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL);
|
H A D | bug14562.phpt | 12 $fmt = new NumberFormatter("de", NumberFormatter::DECIMAL ); 16 $fmt = new NumberFormatter("de", NumberFormatter::DECIMAL );
|
H A D | formatter_format_conv.phpt | 10 $fmt = ut_nfmt_create( 'en_US', NumberFormatter::DECIMAL );
|
H A D | bug67052.phpt | 12 $fmt = new NumberFormatter( 'sl_SI.UTF-8', NumberFormatter::DECIMAL);
|
H A D | bug48227.phpt | 8 $x = new NumberFormatter('en_US', NumberFormatter::DECIMAL);
|
H A D | formatter_get_locale.phpt | 30 $fmt = ut_nfmt_create( $locale, NumberFormatter::DECIMAL );
|
H A D | formatter_get_locale_variant2.phpt | 30 $fmt = ut_nfmt_create( $locale, NumberFormatter::DECIMAL );
|
H A D | bug62915-2.phpt | 14 static $ARGS = array('de_DE', NumberFormatter::DECIMAL);
|
H A D | formatter_format4.phpt | 22 NumberFormatter::DECIMAL => '',
|
/PHP-5.4/ext/oci8/tests/ |
H A D | field_funcs2.phpt | 19 "C07" => "DECIMAL(4,9)", 21 "C09" => "DECIMAL(4)", 59 C07 DECIMAL(4,9): precision 4, scale 9 61 C09 DECIMAL(4): precision 4, scale 0
|
/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_getcolumnmeta.phpt | 183 test_meta($db, 250, 'DECIMAL', -1.01, array('DECIMAL', 'NEWDECIMAL'), PDO::PARAM_STR); 184 test_meta($db, 260, 'DECIMAL UNSIGNED', 1.01, array('DECIMAL', 'NEWDECIMAL'), PDO::PARAM_STR); 185 test_meta($db, 270, 'DECIMAL ZEROFILL', -1.01, array('DECIMAL', 'NEWDECIMAL'), PDO::PARAM_STR); 186 …test_meta($db, 280, 'DECIMAL UNSIGNED ZEROFILL', 1.01, array('DECIMAL', 'NEWDECIMAL'), PDO::PARAM_… 188 test_meta($db, 290, 'NUMERIC', -1.01, array('DECIMAL', 'NEWDECIMAL'), PDO::PARAM_STR); 189 test_meta($db, 300, 'NUMERIC UNSIGNED', 1.01, array('DECIMAL', 'NEWDECIMAL'), PDO::PARAM_STR); 190 test_meta($db, 310, 'NUMERIC ZEROFILL', -1.01, array('DECIMAL', 'NEWDECIMAL'), PDO::PARAM_STR); 191 …test_meta($db, 320, 'NUMERIC UNSIGNED ZEROFILL', 1.01, array('DECIMAL', 'NEWDECIMAL'), PDO::PARAM_…
|
H A D | pdo_mysql_stmt_bindparam_types.phpt | 127 pdo_mysql_stmt_bindparam_types($db, 26, 'DECIMAL', -1000); 128 pdo_mysql_stmt_bindparam_types($db, 27, 'DECIMAL UNSIGNED', 1000); 129 pdo_mysql_stmt_bindparam_types($db, 28, 'DECIMAL ZEROFILL', '000000000000'); 130 pdo_mysql_stmt_bindparam_types($db, 29, 'DECIMAL ZEROFILL UNSIGNED', '000000001000');
|
H A D | pdo_mysql_types_zerofill.phpt | 111 test_type($db, 190, 'DECIMAL ZEROFILL', -1.01, NULL, '/^[0]*0$/'); 112 test_type($db, 200, 'DECIMAL ZEROFILL', 1.01, NULL, '/^[0]*1$/'); 113 test_type($db, 210, 'DECIMAL UNSIGNED ZEROFILL', 1.01, NULL, '/^[0]*1$/');
|
H A D | bug_41698.phpt | 18 $db->exec('CREATE TABLE test(floatval DECIMAL(8,6))');
|
H A D | pdo_mysql_types.phpt | 127 test_type($db, 250, 'DECIMAL', -1.01, '-1'); 128 test_type($db, 260, 'DECIMAL UNSIGNED', 1.01, '1'); 172 test_type($db, 640, 'DECIMAL(3,2)', -1.01, '-1.01');
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_fetch_field_types.phpt | 106 $datatypes[MYSQLI_TYPE_NEWDECIMAL] = array('DECIMAL', '1.1'); 109 $datatypes[MYSQLI_TYPE_DECIMAL] = array('DECIMAL', '1.1');
|
H A D | mysqli_stmt_get_result_types.phpt | 177 func_mysqli_stmt_get_result($link, $engine, "d", "DECIMAL(10,2)", $tmp, 760, "string"); 178 func_mysqli_stmt_get_result($link, $engine, "d", "DECIMAL(10,2)", NULL, 780); 180 func_mysqli_stmt_get_result($link, $engine, "d", "DECIMAL(10,2)", $tmp, 800, "string"); 181 func_mysqli_stmt_get_result($link, $engine, "d", "DECIMAL(10,2)", NULL, 820);
|
H A D | mysqli_fetch_assoc_zerofill.phpt | 66 zerofill(11, $link, 'DECIMAL');
|
H A D | bug42378.phpt | 176 $expected = create_table($link, 'DECIMAL(5,0)', -1000, 1000, $engine, 150); 195 DECIMAL(5,0)
|
/PHP-5.4/ext/intl/formatter/ |
H A D | formatter.c | 49 FORMATTER_EXPOSE_CLASS_CONST( DECIMAL ); in formatter_register_constants()
|
/PHP-5.4/ext/interbase/tests/ |
H A D | 007.phpt | 88 echo " DECIMAL[$i] fail\n"; 150 echo "DECIMAL fail\n";
|