Error and Representation
Rounding and Significant Figures
Rounding to significant figures keeps a fixed number of meaningful digits regardless of magnitude. Rounding to decimal places fixes the number of digits after the point. Examples: 3.14159 to 4 sig figs is 3.142; 0.0045678 to 3 sig figs is 0.00457; 2.7182818 to 2 decimal places is 2.72.
Example
rounding-and-significant-figures
To round to N significant figures: locate the Nth significant digit, look at the next digit, round half-even. Leading zeros do not count as significant. Decimal-place rounding counts from the decimal point.