truncate method
Como round, com PgRoundingMode.towardZero (trunc do PostgreSQL).
Implementation
PgDecimal truncate([int scale = 0]) =>
rescale(scale, PgRoundingMode.towardZero);
Como round, com PgRoundingMode.towardZero (trunc do PostgreSQL).
PgDecimal truncate([int scale = 0]) =>
rescale(scale, PgRoundingMode.towardZero);