Re: numeric to text (7.3)

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Szima Gábor <sygma(at)tesla(dot)hu>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: numeric to text (7.3)
Date: 2002-12-02 18:35:47
Message-ID: 1038854147.46704.32.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)rbt(dot)ca>

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Burton 2002-12-02 19:03:38 Re: numeric to text (7.3)
Previous Message Fernando Nasser 2002-12-02 18:30:04 Re: ALTER TABLE schema SCHEMA TO new_schema?