php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #20869 money_format needs documentation
Submitted: 2002-12-06 17:29 UTC Modified: 2002-12-29 17:45 UTC
From: leon at leonatkinson dot com Assigned: jmcastagnetto (profile)
Status: Closed Package: Documentation problem
PHP Version: 4CVS-2002-12-06 (dev) OS:
Private report: No CVE-ID: None
 [2002-12-06 17:29 UTC] leon at leonatkinson dot com
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));
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-25 16:16 UTC] jmcastagnetto@php.net
Assigning this to myself. Documentation halfway finished.
 [2002-12-29 17:45 UTC] jmcastagnetto@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 11:00:02 2025 UTC