Formula and method
Start at the first nonzero digit, retain the requested count and round the discarded part. Scientific notation makes retained trailing zeros unambiguous.
Worked example
9.999 rounded to three significant figures is 1.00 × 10¹. The carry changes the exponent while the three retained digits remain explicit.