Get a number to a precision.
function toPrecision(n: number, precision?: number): number
n
number
The number.
precision
The precision.