Re: [PHP] Format Currency

2002-11-05 Thread Petr Tomenendál
Hi,
try this function:

number_format -- Format a number with grouped thousands

Description
string number_format ( float number [, int decimals [, string dec_point
[, string thousands_sep]]])


Petr Tomenendal

On Tue, 2002-11-05 at 12:55, dark rotter wrote:
 Hello,
 
 
 How i format a number in currency ? Try find it on
 php.net but i did not see nothing. 
 
 Anyone know this?
 
 
 
 
 Augusto Flavio
 
 __
 Do you Yahoo!?
 HotJobs - Search new jobs daily now
 http://hotjobs.yahoo.com/
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



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




Re: [PHP] how to time an http request

2002-09-19 Thread Petr Tomenendál

If you want a tool to test HTTP server responses, then i can recommend
Siege. You can specify number of simultaneous requests and 
URL/URLs to be tested. For more info look at: 
http://www.joedog.org/siege/index.shtml

P.


On Thu, 2002-09-19 at 01:12, Lee Doolan wrote:
 
 
 is there a program which i can run in a unix environment (FreeBSD or
 redhat) which can run, say, 100 requests on a url and then report the
 total time spent on the requests?  i know that i could run curl or
 wget in a loop, but i would have to account for the fork-exec time
 somehow.  i hope that the question is clear.
 
 
 -- 
 Flowers of morning glory.  +-+
 The sky above this street  |donate to causes I care about:   |
 Begins to overcast.|  http://svcs.affero.net/rm.php?r=leed_25|
--Sugita+-+
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



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