ITADN

Is it possible to create a fraction in non-reduced form?

#89Closedp1ckle-rick 创建于 2025-07-23
P
p1ckle-rickcommented
From the [docs](https://github.com/rawify/Fraction.js?tab=readme-ov-file#parser) > the constructor of the Fraction class parses its input and **reduces it to the smallest term**. Is there anyway to avoid this from happening? For example, I want to access the original denominator of 10/100 For example, I want to display to the user the fraction 20/40
关闭于 2025-08-02 0 条评论