constrained method
Rounds and checks a decimal against the requested precision and scale.
Implementation
Expr<T> constrained(int precision, int scale) {
Decimal.validateDigits(precision, scale);
return Expr.internal(DecimalCast(expressionNode, precision, scale), codec);
}