Home
last modified time | relevance | path

Searched refs:dec_point (Results 1 – 6 of 6) sorted by relevance

/PHP-7.3/main/
H A Dsnprintf.h86 PHPAPI char * php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf);
87 PHPAPI char * php_0cvt(double value, int ndigit, char dec_point, char exponent, char *buf);
89 boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, size_t *len);
H A Dsnprintf.c140 PHPAPI char *php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf) /* {{{ */ in php_gcvt() argument
175 *dst++ = dec_point; in php_gcvt()
205 *dst++ = dec_point; in php_gcvt()
227 *dst++ = dec_point; in php_gcvt()
380 boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, size_t *len) in php_conv_fp() argument
411 *s++ = dec_point; in php_conv_fp()
416 *s++ = dec_point; in php_conv_fp()
429 *s++ = dec_point; in php_conv_fp()
/PHP-7.3/ext/standard/
H A Dmath.c1114 PHPAPI zend_string *_php_math_number_format(double d, int dec, char dec_point, char thousand_sep) in _php_math_number_format() argument
1116 return _php_math_number_format_ex(d, dec, &dec_point, 1, &thousand_sep, 1); in _php_math_number_format()
1119 PHPAPI zend_string *_php_math_number_format_ex(double d, int dec, char *dec_point, in _php_math_number_format_ex() argument
1175 if (dec_point) { in _php_math_number_format_ex()
1211 if (dec_point) { in _php_math_number_format_ex()
1213 memcpy(t + 1, dec_point, dec_point_len); in _php_math_number_format_ex()
1243 char *thousand_sep = NULL, *dec_point = NULL; in PHP_FUNCTION() local
1251 Z_PARAM_STRING_EX(dec_point, dec_point_len, 1, 0) in PHP_FUNCTION()
1263 if (dec_point == NULL) { in PHP_FUNCTION()
1264 dec_point = &dec_point_chr; in PHP_FUNCTION()
[all …]
/PHP-7.3/ext/standard/tests/strings/
H A Dnumber_format_error.phpt6 …* string number_format ( float $number , int $decimals , string $dec_point , string …
H A Dnumber_format_basic.phpt6 …* string number_format ( float $number , int $decimals , string $dec_point , string …
/PHP-7.3/ext/wddx/
H A Dwddx.c421 char tmp_buf[WDDX_BUF_LEN], *dec_point; in php_wddx_serialize_number() local
426 dec_point = strchr(tmp_buf, ','); in php_wddx_serialize_number()
427 if (dec_point) { in php_wddx_serialize_number()
428 *dec_point = '.'; in php_wddx_serialize_number()

Completed in 49 milliseconds