Re: [GENERAL] round(x) function

2010-03-26 Thread Justin Graf
On 3/26/2010 12:12 PM, Tom Lane wrote: > "Gaietti, Mauro \(SELEX GALILEO Guest, > Italy\)" writes: > >> This query: >> select round(0.5), round(0.5::integer), round(0.5::bigint), round( >> 0.5::float ), round( 0.5::double precision ),round(cast(0.5 as double >> precision )),round(cast(0.5::do

Re: [GENERAL] round(x) function

2010-03-26 Thread Tom Lane
"Gaietti, Mauro \(SELEX GALILEO Guest, Italy\)" writes: > This query: > select round(0.5), round(0.5::integer), round(0.5::bigint), round( > 0.5::float ), round( 0.5::double precision ),round(cast(0.5 as double > precision )),round(cast(0.5::double precision as numeric )); has strange > result: