fraction NuGet Package

Add fraction support.

Known Issue:
Using an instance built by default parameterless constructor will cause exception or miscalculation.

To avoid this, always use parameter-based constructors. This will not be fixed due to consideration about running speed.

Example:
Fraction a = new Fraction(2, 3); // 2/3
Fraction b = 100; // 100
Fraction c = new Fraction("50 1/2"); //50 1/2
Fraction d = a + b;.




Got any fraction Question?





Info

Version: 1.2.0
Author(s): Allen Cui
Last Update: Tuesday, April 2, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/scegg/Fraction
NuGet Url: https://www.nuget.org/packages/fraction


Install
Install-Package fraction
dotnet add package fraction
paket add fraction
fraction Download (Unzip the "nupkg" after downloading)

.NETCoreApp 1.0 .NETFramework 4.0
  • No dependencies.
.NETStandard 1.3 .NETStandard 2.0
  • No dependencies.
netcoreapp2.0
  • No dependencies.




STATS

must-have-score

.3

avg-downloads-per-day

3

days-since-last-release

2065