Dangl.Calculator 1.5.0

.NET Standard 1.1 .NET Framework 4.0
dotnet add package Dangl.Calculator --version 1.5.0
NuGet\Install-Package Dangl.Calculator -Version 1.5.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="Dangl.Calculator" Version="1.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dangl.Calculator --version 1.5.0
#r "nuget: Dangl.Calculator, 1.5.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Dangl.Calculator as a Cake Addin
#addin nuget:?package=Dangl.Calculator&version=1.5.0

// Install Dangl.Calculator as a Cake Tool
#tool nuget:?package=Dangl.Calculator&version=1.5.0

Package to evaluate mathematical formulas from strings

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
1.5.0 5,165 4/29/2022
1.4.0 11,646 1/23/2021
1.3.1 262 1/16/2021
1.3.0 295 1/15/2021
1.2.1 365 12/26/2020
1.2.0 21,798 8/5/2019
1.1.5 857 7/12/2019
1.1.4 1,499 3/8/2019
1.1.3 641 12/28/2018
1.1.2 686 10/19/2018
1.1.1 717 10/9/2018
1.1.0 715 9/15/2018
1.0.6 969 3/19/2018
1.0.5 1,535 12/15/2017
1.0.4 862 8/11/2017
1.0.3 959 12/5/2016
1.0.2 1,061 10/4/2016
1.0.1 942 9/25/2016
1.0.0 1,094 9/25/2016

## v1.5.0:
- Added support for `Min` and `Max` formulas
- Dropped tests for `netcoreapp2.1` and added tests for `net5.0` and `net6.0`

## v1.4.0:
- The calculator now supports trailing comments in a formula, separated by a semicolon `;` at the end of the actual formula input. For example, `1 + 2; Hello World!` now just evaluates `1 + 2` and ignores everything after the semicolon `;`

## v1.3.1:
- Updates to README

## v1.3.0:
- Add support for substitutions in formulas

## v1.2.1:
- Add `net40` as target framework
- Drop tests for `netcoreapp2.2` and add tests for `netcoreapp3.1`

## v1.2.0
- The generated assemblies now have a strong name. This is a breaking change of the binary API and will require recompilation on all systems that consume this package. The strong name of the generated assembly allows compatibility with other, signed tools. Please note that this does not increase security or provide tamper-proof binaries, as the key is available in the source code per [Microsoft guidelines](https://msdn.microsoft.com/en-us/library/wd40t7ad(v=vs.110).aspx)

## v1.1.5:
- CI tests are now also run on Linux
- Added capability to detect missing multiplication signs, e.g. the formula `3pi` is now recognized as `3*pi` or `2(3)` as `2*(3)`

## v1.1.4:
- Added support for formulas ending with an equals sign `=`

## v1.1.3:
- Dropped tests for `netcoreapp2.0`, added tests for `netcoreapp2.2`
- Update of dependencies

## v1.1.2
- Bugfix: Fixed operator precedence for exponential expression, e.g. `1e+2*2 == 200`

## v1.1.1
- Bugfix: Unary minus signs were not always evaluated to the nearest matching expression, e.g. `-3+5` was evaluated as `-(3+5)`. See [GitHub Issue #1](https://github.com/GeorgDangl/Dangl.Calculator/issues/1)

## v1.1.0
- Dropped test support for .NET Core 1.0 and 1.1
- Updated Antlr4 to latest stable version

## v1.0.6
- Add `netstandard2.0` target
- Switch build system to NUKE

## v1.0.5
- Downgrade to netstandard1.1 and net45 for broader compatibility
   
## v1.0.4
- Update ANTLR to latest version
     
## v1.0.3
- Target NETStandard 1.3