Home
last modified time | relevance | path

Searched refs:thousand_sep (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/ext/standard/
H A Dphp_math.h22 PHPAPI zend_string *_php_math_number_format(double d, int dec, char dec_point, char thousand_sep);
23 … d, int dec, const char *dec_point, size_t dec_point_len, const char *thousand_sep, size_t thousan…
H A Dmath.c1007 PHPAPI zend_string *_php_math_number_format(double d, int dec, char dec_point, char thousand_sep) in _php_math_number_format() argument
1009 return _php_math_number_format_ex(d, dec, &dec_point, 1, &thousand_sep, 1); in _php_math_number_format()
1013 size_t dec_point_len, const char *thousand_sep, size_t thousand_sep_len) in _php_math_number_format_ex() argument
1059 if (thousand_sep) { in _php_math_number_format_ex()
1114 if (thousand_sep && (++count%3)==0 && s >= ZSTR_VAL(tmpbuf)) { in _php_math_number_format_ex()
1116 memcpy(t + 1, thousand_sep, thousand_sep_len); in _php_math_number_format_ex()
1136 char *thousand_sep = NULL, *dec_point = NULL; in PHP_FUNCTION() local
1144 Z_PARAM_STRING_OR_NULL(thousand_sep, thousand_sep_len) in PHP_FUNCTION()
1151 if (thousand_sep == NULL) { in PHP_FUNCTION()
1152 thousand_sep = ","; in PHP_FUNCTION()
[all …]

Completed in 10 milliseconds