Understanding your calculation
Method, example and limitations
How the calculation works
Rounding replaces a value with a nearby value at the requested decimal place or significant-figure precision. The selected tie-breaking rule matters at exact halfway values.
Example to check
Rounding 12.346 to two decimal places gives 12.35. Rounding it to three significant figures gives 12.3.
Before using the result
Decimal places and significant figures are different. Negative halfway values and binary floating-point representation can expose differences between rounding conventions.