Express localeToFixed(D, 4)
as a fraction.
D
localeToFixed(D, 4)
can be represented as follows.
= 0 +
fraction(floor(NUMERATOR / 1000 % 10), 10) +
fraction(floor(NUMERATOR / 100 % 10), 100) +
fraction(floor(NUMERATOR / 10 % 10), 1000) +
fraction(floor(NUMERATOR % 10), 10000)
= fraction(NUMERATOR, 10000)
Express FIXED
as a mixed number.
W + D / 100
FIXED
can be represented as follows:
= W + fraction(floor(D / 10), 10) + fraction(D % 10, 100)
= W + fraction(D, 100)