Re: [PHP] Format Currency
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] Format Currency
http://www.php.net/manual/en/function.sprintf.php Example 6 shows you how. Rudolf Visagie Principal Software Developer Digital Healthcare Solutions mailto:rudolf;dhsolutions.co.za Tel: 011 6901019 Cell: 082 895 1598 -Original Message- From: dark rotter [mailto:darkrotter;yahoo.com] Sent: Tuesday, November 05, 2002 1:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Format Currency 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