TypedMath 1.0.1
See the version list below for details.
dotnet add package TypedMath --version 1.0.1
NuGet\Install-Package TypedMath -Version 1.0.1
<PackageReference Include="TypedMath" Version="1.0.1" />
paket add TypedMath --version 1.0.1
#r "nuget: TypedMath, 1.0.1"
// Install TypedMath as a Cake Addin #addin nuget:?package=TypedMath&version=1.0.1 // Install TypedMath as a Cake Tool #tool nuget:?package=TypedMath&version=1.0.1
Typed Math
This is a completly meaningsless project that I created a day when I had a bit of a Visual Basic nostalgia. If there is one thing I love about Visual Basic is how the code becomes sort of a story to read.
So I decided to use words instead of operators when doing calculations. To make my calculations more readable for future use. instead of writing
var x = 10 * 32 + y;
you can write
var x = 10.MultipliedWith(32).Add(y);
To use the extensions use any of the namespaces
using MarcusMedinaPro.TypedMath.ByteExtension; // Bytes
using MarcusMedinaPro.TypedMath.CharExtension; // Char
using MarcusMedinaPro.TypedMath.DecimalExtension; // Decimal
using MarcusMedinaPro.TypedMath.DoubleExtension; // Double
using MarcusMedinaPro.TypedMath.IntExtension; // Int
using MarcusMedinaPro.TypedMath.LongExtension; // Long
using MarcusMedinaPro.TypedMath.SByteExtension; // SByte
using MarcusMedinaPro.TypedMath.ShortExtension; // Short
using MarcusMedinaPro.TypedMath.UintExtension; // Uint
using MarcusMedinaPro.TypedMath.UlongExtension; //Ulong
using MarcusMedinaPro.TypedMath.UshorttExtension; //Ushort
You can find the source code here: https://github.com/MarcusMedina/TypedMath Cheers. Marcus
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.