sigfig (npm): Round a number to n significant figures.
Keywords: significant|figures|round|scientific|precision|rounding|number|decimal|places