CockroachDB changes decimal rounding to match PostgreSQL
engineeringcockroachdbdecimalcompatibilityarithmeticThe February beta replaces CockroachDB's decimal implementation and makes half-away-from-zero rounding the default. Existing calculations can change without a schema change.