On Sun, 22 Jun 2003, Jason Hasner wrote:

> string number_format ( float number [, int decimals [, string dec_point
> [, string thousands_sep]]])
> 
> number_format() returns a formatted version of number. This function
> accepts either one, two or four parameters (not three): 
> 
> If it does not accept three parameters, then the .. I am not sure if
> prototype is the right word. should have one less set of square
> brackets:
> 
> 
> string number_format ( float number [, int decimals [, string dec_point,
> string thousands_sep]])
> 
> to signify that if you supply a third argument, you must supply a
> fourth. Either that, or the second sentence is wrong.

The documentation is okay, but our XML source doesn't allow to note that 
it can have two parameters optional at the same time, but not at once. I 
will now modify the docs that it will show more syntaxes.

Derick

-- 
"Interpreting what the GPL actually means is a job best left to those
                    that read the future by examining animal entrails."
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 International PHP Magazine                          http://php-mag.net/
-------------------------------------------------------------------------

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to