rounded method
Rounds in SQL; DecimalRounding.exact rejects any lost nonzero digits.
Implementation
Expr<T> rounded(
int scale, {
DecimalRounding rounding = DecimalRounding.exact,
}) {
Decimal.validateScale(scale);
return Expr.internal(
DecimalRatio(expressionNode, null, scale, rounding),
codec,
);
}