numeric to text (7.3)

From: Szima Gábor <sygma(at)tesla(dot)hu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: numeric to text (7.3)
Date: 2002-12-01 16:49:01
Message-ID: Pine.LNX.4.50.0212011739240.982-100000@vigo.sygma.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello

In PostgreSQL 7.2/7.1:

template1=# select text(2.000::numeric);
text
------
2
(1 row)

In 7.3:

template1=# select text(2.000::numeric);
text
-------
2.000
(1 row)

The text(numeric) function doesn't round numbers. :(

This is bug or feature? :)

-Sygma

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas A. Lowery 2002-12-01 16:58:14 Re: ANNOUNCE: DBD::Pg 1.20
Previous Message Tom Lane 2002-12-01 16:24:18 Re: 7.4 Wishlist