Convert Decimal (Percentage) to Fraction in C# .Net

Last Reply 5 months ago By pandeyism

Posted 5 months ago


i am using this solution it works great but today in notice in some cases it fails

Convert percentage (Double) to Fraction using C# in ASP.Net

like 87.50 the fraction should be 7/8 but it is showing 4/5

here is the reference

please advice

You are viewing reply posted by: pandeyism 5 months ago.