humanize icon indicating copy to clipboard operation
humanize copied to clipboard

Fraction: Detect repeating trailing decimal places

Open imbue11235 opened this issue 2 years ago • 0 comments

Currently fractions are humanized without looking at repeating patterns in the decimal places. Therefore 0.3333 becomes 333/1000 instead of 1/3.

Task: Implement ability to detect repeating trailing decimal places for more correct representation of the fraction.

Reference: https://en.wikipedia.org/wiki/Repeating_decimal

imbue11235 avatar Sep 12 '21 18:09 imbue11235