BLM16.Util.Calculator 4.4.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package BLM16.Util.Calculator --version 4.4.0
NuGet\Install-Package BLM16.Util.Calculator -Version 4.4.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BLM16.Util.Calculator" Version="4.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BLM16.Util.Calculator --version 4.4.0
#r "nuget: BLM16.Util.Calculator, 4.4.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BLM16.Util.Calculator as a Cake Addin
#addin nuget:?package=BLM16.Util.Calculator&version=4.4.0

// Install BLM16.Util.Calculator as a Cake Tool
#tool nuget:?package=BLM16.Util.Calculator&version=4.4.0

Tokenized Calculator

C# License Nuget

This library parses and solves math equations from strings. Order of Operations Rules are followed.


Note: multiple consecutive exponents are evaluated as (a^b)^c not a^(b^c). Using brackets to explicitly outline order is advised.

Note: constants and functions are evaluated by length of symbol. If pi and p are defined, pi evaluates to pi not p * i. Use operators or parentheses to be explicit about which constants to use.

Note: operators, constants, and functions are case-insensitive (Pi = pI = PI = pi).


Predefined operators, constants, and functions exist for your convenience. Not all of them used by default however. In the calculator's initializer you can add things from DefaultOperators, DefaultConstants, DefaultFunctions, or your own custom values.

License

This code is licensed under the MIT License

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • 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.

Version Downloads Last updated
4.4.0 148 9/16/2023
4.3.0 302 12/30/2022
4.2.0 386 8/3/2022
4.1.2 387 5/6/2022
4.1.1 386 5/6/2022
4.1.0 383 5/3/2022
4.0.1 425 1/20/2022
4.0.0 395 1/19/2022
3.0.0 241 1/4/2022
2.1.0 241 12/28/2021