Requires user to specify number of significant figures for a result