BLM16.Util.Calculator 4.4.0

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 187 9/16/2023
4.3.0 331 12/30/2022
4.2.0 409 8/3/2022
4.1.2 417 5/6/2022
4.1.1 409 5/6/2022
4.1.0 407 5/3/2022
4.0.1 460 1/20/2022
4.0.0 420 1/19/2022
3.0.0 266 1/4/2022
2.1.0 264 12/28/2021