fraction by Allen Cui

<PackageReference Include="fraction" Version="1.2.0" />

.NET API 19,456 bytes

 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;

<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
  <metadata>
    <id>fraction</id>
    <version>1.2.0</version>
    <authors>Allen Cui</authors>
    <owners>Allen Cui</owners>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <licenseUrl>https://github.com/scegg/Fraction/blob/master/LICENSE</licenseUrl>
    <projectUrl>https://github.com/scegg/Fraction</projectUrl>
    <description>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;</description>
    <releaseNotes>Bug fix: Multiply and divide.</releaseNotes>
    <copyright>Allen Cui / SecertNest.info</copyright>
    <dependencies>
      <group targetFramework=".NETCoreApp1.0">
        <dependency id="Microsoft.NETCore.App" version="1.0.5" exclude="Build,Analyzers" />
      </group>
      <group targetFramework=".NETFramework4.0" />
      <group targetFramework=".NETStandard1.3">
        <dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
      </group>
      <group targetFramework=".NETCoreApp2.0" />
      <group targetFramework=".NETStandard2.0" />
    </dependencies>
  </metadata>
</package>