Re: numeric to text (7.3) - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: numeric to text (7.3)
Date
Msg-id 1038854147.46704.32.camel@jester
Whole thread Raw
In response to numeric to text (7.3)  (Szima Gábor <sygma@tesla.hu>)
Responses Re: numeric to text (7.3)
List pgsql-hackers
> template1=# select text(2.000::numeric);
>  text
> -------
>  2.000
> (1 row)
>
> The text(numeric) function doesn't round numbers. :(
>
> This is bug or feature? :)

I'd say feature in that it doesn't reduce the precision of the number.

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

pgsql-hackers by date:

Previous
From: "Jeroen T. Vermeulen"
Date:
Subject: 7.3: Change in cursor behaviour?
Next
From: Joel Burton
Date:
Subject: Re: numeric to text (7.3)