Searched refs:thousand_sep (Results 1 – 2 of 2) sorted by relevance
/PHP-8.0/ext/standard/ |
H A D | php_math.h | 22 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 D | math.c | 1011 PHPAPI zend_string *_php_math_number_format(double d, int dec, char dec_point, char thousand_sep) in _php_math_number_format() argument 1013 return _php_math_number_format_ex(d, dec, &dec_point, 1, &thousand_sep, 1); in _php_math_number_format() 1017 size_t dec_point_len, const char *thousand_sep, size_t thousand_sep_len) in _php_math_number_format_ex() argument 1063 if (thousand_sep) { in _php_math_number_format_ex() 1118 if (thousand_sep && (++count%3)==0 && s >= ZSTR_VAL(tmpbuf)) { in _php_math_number_format_ex() 1120 memcpy(t + 1, thousand_sep, thousand_sep_len); in _php_math_number_format_ex() 1139 char *thousand_sep = NULL, *dec_point = NULL; in PHP_FUNCTION() local 1147 Z_PARAM_STRING_OR_NULL(thousand_sep, thousand_sep_len) in PHP_FUNCTION() 1154 if (thousand_sep == NULL) { in PHP_FUNCTION() 1155 thousand_sep = ","; in PHP_FUNCTION() [all …]
|
Completed in 8 milliseconds