pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rafa Comino <rafacomino@gmail.com>
To: pgsql-sql@postgresql.org
To: pgsql-general@postgresql.org
Subject: Esay question, about the numeric format
Date: Thu, 22 Feb 2007 12:20:12 +0100
Message-ID: <bd8b58a40702220320l73b09f23l4a4c6a0c198b0f49@mail.gmail.com> (raw)

Hi every body
I have this query
SELECT 20.00::numeric(38,2)
and postgre gives me 20, i need that postgre gives me 20.00
What can i do? i suppose this must be easy, but i dont find how to do ir
thanks every body

view thread (3+ messages)  latest in thread

Message-ID: <bd8b58a40702220320l73b09f23l4a4c6a0c198b0f49@mail.gmail.com>
Permalink:  ../bd8b58a40702220320l73b09f23l4a4c6a0c198b0f49@mail.gmail.com/
Also on:    postgresql.org/message-id/bd8b58a40702220320l73b09f23l4a4c6a0c198b0f49@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: rafacomino@gmail.com, pgsql-general@postgresql.org
  Subject: Re: Esay question, about the numeric format
  In-Reply-To: <bd8b58a40702220320l73b09f23l4a4c6a0c198b0f49@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox