Skip site navigation (1) Skip section navigation (2)

Re: redondeo de numeros

From: "Carlos Mendez" <lucas1850(at)gmail(dot)com>
To: "Rodriguez Fernando" <rodriguez(at)ort(dot)edu(dot)uy>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: redondeo de numeros
Date: 2008-04-24 12:37:13
Message-ID: 4610af1f0804240537t35584314m21b229944d74315a@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
hola, gracias compaƱeros por la ayuda,

exactamente, era el round y el numeric lo que me faltaba, puse la consulta
asi y funciono:

round(sum(n.nota::numeric)/3) as anual

saludos.

In response to

pgsql-es-ayuda by date

Next:From: jose ricardoDate: 2008-04-24 12:40:32
Subject: problemas con COPY y caracteres especiales
Previous:From: Rodriguez FernandoDate: 2008-04-24 11:46:59
Subject: Re: ERROR AL RESPALDAR

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group