toPrecision() for JavaScript Number Format: an Example of Usage