truncate method

PgDecimal truncate([
  1. int scale = 0
])

Como round, com PgRoundingMode.towardZero (trunc do PostgreSQL).

Implementation

PgDecimal truncate([int scale = 0]) =>
    rescale(scale, PgRoundingMode.towardZero);