Count significant figures in a decimal and round to a chosen precision.
Enter a decimal or scientific notation to see its precision.