Lines Matching refs:dec
1095 PHPAPI char *_php_math_number_format(double d, int dec, char dec_point, char thousand_sep) in _php_math_number_format() argument
1110 dec = MAX(0, dec); in _php_math_number_format()
1111 d = _php_math_round(d, dec, PHP_ROUND_HALF_UP); in _php_math_number_format()
1113 tmplen = spprintf(&tmpbuf, 0, "%.*F", dec, d); in _php_math_number_format()
1120 if (dec) { in _php_math_number_format()
1141 if (dec) { in _php_math_number_format()
1142 reslen += dec; in _php_math_number_format()
1162 if (dec) { in _php_math_number_format()
1164 int topad = dec > declen ? dec - declen : 0; in _php_math_number_format()
1210 long dec = 0; in PHP_FUNCTION() local
1215 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|ls!s!", &num, &dec, &dec_point, &dec_point… in PHP_FUNCTION()
1224 RETURN_STRING(_php_math_number_format(num, dec, dec_point_chr, thousand_sep_chr), 0); in PHP_FUNCTION()
1241 RETURN_STRING(_php_math_number_format(num, dec, dec_point_chr, thousand_sep_chr), 0); in PHP_FUNCTION()