Home
last modified time | relevance | path

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

/PHP-7.1/main/
H A Dsnprintf.h88 PHPAPI char * php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf);
89 PHPAPI char * php_0cvt(double value, int ndigit, char dec_point, char exponent, char *buf);
91 boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, size_t *len);
H A Dsnprintf.c142 PHPAPI char *php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf) /* {{{ */ in php_gcvt() argument
177 *dst++ = dec_point; in php_gcvt()
207 *dst++ = dec_point; in php_gcvt()
229 *dst++ = dec_point; in php_gcvt()
382 boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, size_t *len) in php_conv_fp() argument
413 *s++ = dec_point; in php_conv_fp()
418 *s++ = dec_point; in php_conv_fp()
431 *s++ = dec_point; in php_conv_fp()
/PHP-7.1/ext/standard/
H A Dmath.c1102 PHPAPI zend_string *_php_math_number_format(double d, int dec, char dec_point, char thousand_sep) in _php_math_number_format() argument
1104 return _php_math_number_format_ex(d, dec, &dec_point, 1, &thousand_sep, 1); in _php_math_number_format()
1107 PHPAPI zend_string *_php_math_number_format_ex(double d, int dec, char *dec_point, in _php_math_number_format_ex() argument
1158 if (dec_point) { in _php_math_number_format_ex()
1194 if (dec_point) { in _php_math_number_format_ex()
1196 memcpy(t + 1, dec_point, dec_point_len); in _php_math_number_format_ex()
1226 char *thousand_sep = NULL, *dec_point = NULL; in PHP_FUNCTION() local
1234 Z_PARAM_STRING_EX(dec_point, dec_point_len, 1, 0) in PHP_FUNCTION()
1246 if (dec_point == NULL) { in PHP_FUNCTION()
1247 dec_point = &dec_point_chr; in PHP_FUNCTION()
[all …]
/PHP-7.1/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.1/ext/wddx/
H A Dwddx.c423 char tmp_buf[WDDX_BUF_LEN], *dec_point; in php_wddx_serialize_number() local
428 dec_point = strchr(tmp_buf, ','); in php_wddx_serialize_number()
429 if (dec_point) { in php_wddx_serialize_number()
430 *dec_point = '.'; in php_wddx_serialize_number()

Completed in 23 milliseconds