RE: [PHP] Displaying a money datatype from mssql
| From: | Alex Hogan | Date: | Thu, 01 Apr 2004 17:13:58 +0000 |
| Subject: | RE: [PHP] Displaying a money datatype from mssql | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182043@lists.php.net to get a copy of this message | ||
> [snip]
> My last resort would be to go into the db and do a conversion there but
> I
> really don't want to do that.
> How can I convert these to represent a readable dollar figure?
> [/snip]
>
> start with http://www.php.net/number_format
I tried that and it converted the values to 0.00. I know I'm missing
something simple in the conversion.
alex
******************************************************************
The contents of this e-mail and any files transmitted with it are
confidential and intended solely for the use of the individual or
entity to whom it is addressed. The views stated herein do not
necessarily represent the view of the company. If you are not the
intended recipient of this e-mail you may not copy, forward,
disclose, or otherwise use it or any part of it in any form
whatsoever. If you have received this e-mail in error please
e-mail the sender.
******************************************************************