如何简化C#中的分数?例如,给定1 11/6,我需要简化为2 5/6.
1 11/6
2 5/6
c# math fractions
如何在c#中添加两个分数,如下所示:
11/6 + 3/4 = 31/12
然后你会如何简化答案?
c# math
c# ×2
math ×2
fractions ×1