Date: Mon, 18 Jul 2011 19:00:52 -0300
From: martin.marq...@gmail.com
To: php-general@lists.php.net
Subject: [PHP] How to sum monetary variables
I'm building a table (which is a report that has to be printed) with a
bunch of items (up to 300 in some cases) that have unitary price
(stored
On 18 Jul 2011 at 23:00, Martín Marqués martin.marq...@gmail.com wrote:
I'm building a table (which is a report that has to be printed) with a
bunch of items (up to 300 in some cases) that have unitary price
(stored in a numeric(9,2) field), how many there are, and the total
price for each
2011/7/18 Martín Marqués martin.marq...@gmail.com
I'm building a table (which is a report that has to be printed) with a
bunch of items (up to 300 in some cases) that have unitary price
(stored in a numeric(9,2) field), how many there are, and the total
price for each item. At the end of the
-Original Message-
From: Martín Marqués [mailto:martin.marq...@gmail.com]
Sent: Monday, July 18, 2011 6:01 PM
To: PHP General
Subject: [PHP] How to sum monetary variables
I'm building a table (which is a report that has to be printed) with a
bunch of items (up to 300 in some
2011/7/18 Martín Marqués martin.marq...@gmail.com:
I'm building a table (which is a report that has to be printed) with a
bunch of items (up to 300 in some cases) that have unitary price
(stored in a numeric(9,2) field), how many there are, and the total
price for each item. At the end of the
2011/7/18 Richard Quadling rquadl...@gmail.com
2011/7/18 Martín Marqués martin.marq...@gmail.com:
Any ideas?
For financial values, I use the money type.
I use MS SQL, but PostgreSQL has
http://www.postgresql.org/docs/9.0/interactive/datatype-money.html
The version of PostgreSQL plays
On Mon, Jul 18, 2011 at 11:22:00PM +0100, Tim Streater wrote:
On 18 Jul 2011 at 23:00, Martín Marqués martin.marq...@gmail.com wrote:
I'm building a table (which is a report that has to be printed) with a
bunch of items (up to 300 in some cases) that have unitary price
(stored in a
7 matches
Mail list logo