GitHub

daffPrecision

A helper function to compute a power of 10 required to convert a decimal number to an integer This function will fail if the given number has more than 16 significant figures or the value of the number is greater than 10^11

API

function daffPrecision(number: number): number