Re: cast numeric with scale and precision to numeric plain - Mailing list pgsql-general

From Tom Lane
Subject Re: cast numeric with scale and precision to numeric plain
Date
Msg-id 27206.1256050388@sss.pgh.pa.us
Whole thread Raw
In response to Re: cast numeric with scale and precision to numeric plain  (Sim Zacks <sim@compulab.co.il>)
Responses Re: cast numeric with scale and precision to numeric plain
List pgsql-general
Sim Zacks <sim@compulab.co.il> writes:
>>> I'm not sure offhand what is the easiest way to suppress trailing
>>> zeroes, but casting to plain numeric is not the route to a solution.

> According to the documentation, numeric is stored without any leading
> or trailing zeros.

That says *stored*; it doesn't say *displayed*.

            regards, tom lane

pgsql-general by date:

Previous
From: "Ow Mun Heng"
Date:
Subject: PANIC : right sibling's left-link doesn't match
Next
From: Tom Lane
Date:
Subject: Re: Re:答复: [GENERAL] About could not connect to server: Connection timed out