type conversions

From: Baris Ulu <ulu(at)bornova(dot)ege(dot)edu(dot)tr>
To: pgsql-sql(at)postgresql(dot)org
Subject: type conversions
Date: 1999-11-05 10:10:14
Message-ID: Pine.OSF.4.00.9911051304250.24247-100000@bornova.ege.edu.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I created a function that returns a character which is
concatanated with four or five different attributes, but one of them is
float8 that indicates a ratio; but I hava not found a function that
converts a floating point number to a text or char data type. What can I
do with it(Itried to convert it as in the following 'text(int(ratio))' but
it gives the rounded integer value of my ratio as usual...)

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Frederic boucher 1999-11-05 10:25:13 Re: [SQL] create table with default value...
Previous Message Stoyan Genov 1999-11-05 08:46:36 Re: [SQL] Accessing other database...