Calculating percentages in Postgresql - Mailing list pgsql-general

Hi Guys


Has anyone written a postgres function to calculate percentages without
giving "ERROR:  division by zero" when fed zeros?

TIA

--

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc

pgsql-general by date:

Previous
From: "Paefgen, Peter (LDS)"
Date:
Subject: Re: ORDER BY
Next
From: Martijn van Oosterhout
Date:
Subject: Re: [HACKERS] Client SSL validation using root.crt