GitHub

daffPrecision

function

import { daffPrecision } from '@daffodil/core'

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

function daffPrecision(value: number): number

Parameters

Parametervalue: number
Description