trunc « Math Functions « PostgreSQL






1.trunc(x): Returns the value of x, with any digits past the decimal point truncated
2.trunc(x, s): Returns the value of x, with any digits past s decimal points truncated
3.Use trunc function in insert statement