#37003 [Opn]: money_format is not outputting the correct format.

From: Date: Thu, 06 Apr 2006 22:03:43 +0000
Subject: #37003 [Opn]: money_format is not outputting the correct format.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95398@lists.php.net to get a copy of this message
ID: 37003 User updated by: nexact at gmail dot com Reported By: nexact at gmail dot com Status: Open Bug Type: Output Control Operating System: FreeBSD 5.4-STABLE PHP Version: 5.1.2 New Comment: Oops, Inverse Expected result and Actual result ! :) Previous Comments: ------------------------------------------------------------------------ [2006-04-06 22:02:46] nexact at gmail dot com Description: ------------ money_format(); is not outputting in the correct format. Reproduce code: --------------- <? echo money_format('%=*+#10.2n','-5.36'); ?> Expected result: ---------------- (*********5.36) Actual result: -------------- -*********5.36 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37003&edit=1

« previous php.bugs (#95398) next »