I have some double-precision values in a column in PostgreSQL as following: I want to round these values to their nearest quarter value at the decimal place. That is: I saw this kind of feature in MS Excel. It can be found at: How can I do the same in PostgreSQL? Thanks in advance for your help. Answer You can