Significant figures via the SigFloat object in Javascript.