DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
postgres format number to 2 decimal places
SELECT ROUND(AVG(some_column)::numeric, 2)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#postgres
#format
#number
#decimal
#places
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit