Rounding has two decisions: where to round and how to resolve a discarded part or an exact tie.
Use this comparison when a rule, policy, data format, or programming system specifies a particular rounding mode.
The key rule
What stays true
−2.5 → half up: −3; half down: −2; half even: −2
See the idea
Visual explanation
half up −3half down −2half even −2
Example
Apply it
Nearest modes agree away from an exact halfway value; ties reveal the policy.
Floor, ceiling, toward-zero, and away-from-zero are directed rules, not nearest-value rules.
Quick guide
How to use this calculator
Enter a finite decimal and decimal-place target.
Compare all results row by row.
Pay special attention to negative values and exact ties.
Calculation method
Direction and tie policy are separate choices
Directed modes choose toward zero, away from zero, floor, or ceiling. Nearest modes agree away from a tie and differ only when the discarded part is exactly half.
Worked example
Comparing −2.5 at zero places
Half-up gives −3, half-down gives −2, and half-even gives −2 because 2 is even.