Function in psql to Compare two numbers and return the bigger value - Mailing list pgsql-general

From Emi Lu
Subject Function in psql to Compare two numbers and return the bigger value
Date
Msg-id 45D20536.9040507@encs.concordia.ca
Whole thread Raw
Responses Re: Function in psql to Compare two numbers and return the bigger value  ("Adam Rich" <adam.r@sbcglobal.net>)
Re: Function in psql to Compare two numbers and return the bigger value  (Bricklen Anderson <banderson@presinet.com>)
List pgsql-general
HEllo,

I am looking for a psql method to get the bigger value of two numbers.

For example,

methodName(12.6, 3.8)

Will return 12.6

Thanks!

pgsql-general by date:

Previous
From: Laura McCord
Date:
Subject: Re: Having a problem with my stored procedure
Next
From: "Adam Rich"
Date:
Subject: Re: Function in psql to Compare two numbers and return the bigger value