integralFractionalFromNumber
integralFractionalFromNumber(
value):IntegralFractional
Defined in: packages/math-numbers/src/integral-fractional.ts:111
Decomposes a number through its shortest round-tripping decimal form — the
one String(value) produces — so the result is the numeral a reader would
see, not the exact binary expansion behind it.
Parameters
Section titled “Parameters”number
The number to decompose.
Returns
Section titled “Returns”The decomposition.
Throws
Section titled “Throws”If value is NaN or infinite.