[PHP-DOC] #20869 [Opn->Asn]: money_format needs documentation From: jmcastagnetto <email protected>
Date: 12/25/02

 ID: 20869
 Updated by: jmcastagnetto <email protected>
 Reported By: leon <email protected>
-Status: Open
+Status: Assigned
 Bug Type: Documentation problem
 PHP Version: 4CVS-2002-12-06 (dev)
-Assigned To:
+Assigned To: jmcastagnetto
 New Comment:

Assigning this to myself. Documentation halfway finished.

Previous Comments:
------------------------------------------------------------------------

[2002-12-06 17:29:19] leon <email protected>

OK, here's another function needing docs.

string money_format(string format, float value)
Convert monetary value(s) to string

This function wraps strfmon (the C function). You can get a full
description by reading the man page. One difference is that the PHP
function converts one number instead of any number of them.

Here's a simple example:
<?
        print(money_format("[%^=*#6n]", 1234.567));
?>

------------------------------------------------------------------------

-- 
Edit this bug report at http://bugs.php.net/?id=20869&edit=1

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