AVG function - Mailing list pgsql-interfaces

From rodneyr@embratel.com.br
Subject AVG function
Date
Msg-id 032567DB.00534444.00@ntrjo008.nt.embratel.com.br
Whole thread Raw
List pgsql-interfaces
I'm using the AVG function to get the average of some integer values of my
database,
but the result is comming in the integer format too, and I'm loosing some
precision.

Does someone know how to get the result of the AVG function in a float type,
without
changing the structure of my table?

Thanks,

Rodney.




pgsql-interfaces by date:

Previous
From: "Gerardo Fdez. Navarrete"
Date:
Subject: how to unsubcribe
Next
From: Hannu Krosing
Date:
Subject: Re: [INTERFACES] AVG function