Re: Real type with zero

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: condor(at)stz-bg(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Real type with zero
Date: 2011-06-29 11:43:50
Message-ID: BANLkTinT=mKd1WWBdQHKyaPQ7PpSgEE7Ug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

what you probably looking for is formatting the output into a string.
Postgresql will store it as 2.3, because that is what 2.30 is anyway.
Its up to you to format it before passing it on to the user/business
logic/whatever.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Florian Weimer 2011-06-29 11:48:04 LOCK TABLE permission requirements
Previous Message Condor 2011-06-29 11:24:46 Real type with zero