Hello,

 

I noticed that in the documentation for the number_format function the following text appears:

 

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.

 

If I am missing something there, then I blame it on the fact that it’s 6 AM and I need to go to bed.

 

Jason Hasner

Consultant - Buck Harbor Technologies

Cell - 406.580.7782

Office - 406.522.8282 ext 136

Fax - 406.522.8777

[EMAIL PROTECTED]

 

Reply via email to