pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: BELLON Michel <Michel.Bellon@lcie.fr>
To: guard <guard@ficnet.net>
To: pgsql-sql@postgresql.org
Subject: Re: select 5/2???
Date: Mon, 8 Oct 2001 11:31:21 +0200
Message-ID: <61D1EAA01DEFD111B5D60008C724E5E9B995AB@HERMES> (raw)

The good select is

SELECT 5./2.

BUT !!!!

select -5./2.
+----------+
| ?column? | 
+----------+
|      2.5 |  not -2.5
+----------+

!!!!

Michel BELLON
LCIE - Informatique appliquée
33 (0)1 40 95 60 35

> -----Message d'origine-----
> De:	guard [SMTP:guard@ficnet.net]
> Date:	mercredi 3 octobre 2001 19:05
> À:	pgsql-sql@postgresql.org
> Objet:	select 5/2???
> 
> dear all
> 
> I run select 5/2  = 2
> who to get "2.5"
> 
> thanks
> 
> 
> --
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html



view thread (6+ messages)  latest in thread

Message-ID: <61D1EAA01DEFD111B5D60008C724E5E9B995AB@HERMES>
Permalink:  ../61D1EAA01DEFD111B5D60008C724E5E9B995AB@HERMES/
Also on:    postgresql.org/message-id/61D1EAA01DEFD111B5D60008C724E5E9B995AB@HERMES

 · 

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: Michel.Bellon@lcie.fr, guard@ficnet.net
  Subject: Re: select 5/2???
  In-Reply-To: <61D1EAA01DEFD111B5D60008C724E5E9B995AB@HERMES>

* 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