Internal
Loosely resembles scientific
A scientific number with coefficient and base10Exponent corresponds to the number
coefficient
base10Exponent
coefficient * 10 ^ base10Exponent Copy
coefficient * 10 ^ base10Exponent
Invariants
if coefficient is 0, then base10Exponent is 0.
Otherwise, coefficient has no trailing 0s
the coefficient
Optional
the base 10 exponent (0 if not provided)
toString() returns
toString()
<coefficient>e<base10Exponent> Copy
<coefficient>e<base10Exponent>
if base10Exponent is nonzero, and
<coefficient> Copy
<coefficient>
otherwise.
Static
fromString() uses parseJson to parse a Scientific number
fromString()
Generated using TypeDoc
Loosely resembles scientific
A scientific number with
coefficient
andbase10Exponent
corresponds to the numberInvariants
if
coefficient
is 0, thenbase10Exponent
is 0.Otherwise,
coefficient
has no trailing 0s