operations significant figures code example
Example: significant figures rules
To determine the number of significant figures in a number use the following 3 rules:
1. Non-zero digits are always significant.
2. Any zeros between two significant digits are significant.
3. A final zero or trailing zeros in the decimal portion ONLY are significant.