Home
last modified time | relevance | path

Searched refs:decimals (Results 1 – 23 of 23) sorted by relevance

/PHP-5.6/ext/mysqlnd/
H A Dmysql_float_to_double.h39 static inline double mysql_float_to_double(float fp4, int decimals) { in mysql_float_to_double() argument
42 if (decimals < 0) { in mysql_float_to_double()
45 php_sprintf(num_buf, "%.*f", decimals, fp4); in mysql_float_to_double()
H A Dmysqlnd_ps_codec.c189 dval = mysql_float_to_double(fval, (field->decimals >= NOT_FIXED_DEC) ? -1 : field->decimals); in ps_fetch_float()
H A Dmysqlnd_structs.h92 unsigned int decimals; /* Number of decimals in field */ member
H A Dmysqlnd_wireprotocol.c1271 meta->decimals = uint1korr(p); in php_mysqlnd_rset_field_read()
/PHP-5.6/ext/mysqli/tests/
H A D047.phpt88 [%u|b%"decimals"]=>
117 [%u|b%"decimals"]=>
148 [%u|b%"decimals"]=>
176 [%u|b%"decimals"]=>
206 [%u|b%"decimals"]=>
234 [%u|b%"decimals"]=>
H A Dmysqli_stmt_get_result_metadata_fetch_field.phpt94 [%u|b%"decimals"]=>
122 [%u|b%"decimals"]=>
150 [%u|b%"decimals"]=>
178 [%u|b%"decimals"]=>
H A Dmysqli_stmt_get_result_metadata.phpt136 if ($info->decimals !== $fields['meta'][$k]->decimals)
137 printf("[025 - %d] Expecting decimals %s/%s got %s/%s\n",
138 …$k, getdecimals($info->decimals), $info->decimals, getdecimals($fields['meta'][$k]->decimals), $fi…
H A Dmysqli_field_seek.phpt154 [%u|b%"decimals"]=>
183 [%u|b%"decimals"]=>
212 [%u|b%"decimals"]=>
249 [%u|b%"decimals"]=>
H A Dmysqli_fetch_field.phpt115 [%u|b%"decimals"]=>
143 [%u|b%"decimals"]=>
178 [%u|b%"decimals"]=>
H A Dmysqli_fetch_fields.phpt94 [%u|b%"decimals"]=>
122 [%u|b%"decimals"]=>
H A Dmysqli_fetch_field_oo.phpt98 [%u|b%"decimals"]=>
126 [%u|b%"decimals"]=>
H A Dmysqli_fetch_field_direct.phpt75 [%u|b%"decimals"]=>
H A Dmysqli_field_tell.phpt92 [%u|b%"decimals"]=>
H A Dmysqli_fetch_field_direct_oo.phpt84 [%u|b%"decimals"]=>
H A Dbug_mysql_49406.phpt77 printf("Decimals : %d\n", $field->decimals);
H A Dmysqli_stmt_result_metadata.phpt129 [%u|b%"decimals"]=>
H A Dmysqli_stmt_result_metadata_sqltests.phpt207 $field0->decimals = 0;
/PHP-5.6/ext/standard/tests/strings/
H A Dnumber_format_error.phpt5 /* Prototype : string number_format ( float $number [, int $decimals ] )
6 …* string number_format ( float $number , int $decimals , string $dec_point , string …
H A Dnumber_format_basic.phpt5 /* Prototype : string number_format ( float $number [, int $decimals ] )
6 …* string number_format ( float $number , int $decimals , string $dec_point , string …
/PHP-5.6/ext/com_dotnet/
H A Dcom_variant.c828 long decimals = 0; in PHP_FUNCTION() local
834 ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &zleft, php_com_variant_class_entry, &decimals)) { in PHP_FUNCTION()
838 "z!l", &zleft, &decimals)) { in PHP_FUNCTION()
845 if (SUCCEEDED(VarRound(vleft, decimals, &vres))) { in PHP_FUNCTION()
H A Dcom_extension.c135 ZEND_ARG_INFO(0, decimals)
/PHP-5.6/ext/mysqli/
H A Dmysqli_api.c1074 (stmt->stmt->fields[i].decimals >= NOT_FIXED_DEC) ? -1 :
1075 stmt->stmt->fields[i].decimals);
1229 add_property_long(value, "decimals", field->decimals);
/PHP-5.6/ext/pdo_mysql/
H A Dmysql_statement.c689 cols[i].precision = S->fields[i].decimals;

Completed in 133 milliseconds