int2+float8 problems - Mailing list pgsql-sql

From guard
Subject int2+float8 problems
Date
Msg-id 97k5le$21sk$1@news.tht.net
Whole thread Raw
Responses Re: int2+float8 problems
Re: int2+float8 problems
List pgsql-sql
select trn_qty,amount2,trn_qty*amount2 from invo

trn_qty INT2
amount2 FLOAT8

+---------+---------+----------+
| trn_qty | amount2 | ?column? |
+---------+---------+----------+
|      -1 |    7678 |     7678 |

what to get -7678

thanks




pgsql-sql by date:

Previous
From: Kyle
Date:
Subject: Re: Daily Digest V1 #282
Next
From: Tom Lane
Date:
Subject: Re: int2+float8 problems