fraction 1.2.0

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;

Install-Package fraction -Version 1.2.0
dotnet add package fraction --version 1.2.0
<PackageReference Include="fraction" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add fraction --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Bug fix: Multiply and divide.

  • .NETCoreApp 1.0

  • .NETCoreApp 2.0

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETStandard 1.3

  • .NETStandard 2.0

    • No dependencies.

Version History

Version Downloads Last updated
1.2.0 38 4/2/2019