Only test for 4 significant figures when checking styles.
Round generated values to 4 significant figures.

(and deal with very small numbers).
Fixing tests for rounding.