Number formats

TO SUPPORT MY WORK, ORDER A COMMERCIAL LICENSE
THANK YOU!

mXparser provides a rich collection of built-in math functions, math expressions, and math symbols. Familiarize yourself with the scope and the syntax. Math collection internal help is also available directly from the software – see the tutorial and the API documentation for all the details.

Tutorial Math Collection API spec Download

mXparser – accepted number formats

Key wordCategoryDescriptionExampleSince
IntegerNumber LiteralInteger numbers1, -2, 31.0
Proper decimalNumber LiteralDecimal numbers0.1, -0.2, 1.31.0
Leading zerosNumber LiteralInteger / Decimal numbers with leading zeros001, -000.2, 00001.34.1
No leading zerosNumber LiteralInteger / Decimal numbers without leading zeros.1, -.2, .34.2
Scientific notationNumber LiteralDecimal numbers in scientific notation1.2e10, 1.2e+10, -3.2e-5, 2.eE+104.2
FractionNumber LiteralFractions1_2, 2_3, 2_3_4, -2_44.2
Other baseNumber LiteralNumbers in other numeral basesb1.111, b2.1001, b3.12021, -b16.af12, h.af1, b.1001, o.01274.2
as of 2022-04-15
Nuget – Package Manager

Install-Package MathParser.org-mXparser -Version 5.2.1

Nuget – .NET CLI

dotnet add package MathParser.org-mXparser --version 5.2.1

Nuget – Package Reference

<PackageReference Include="MathParser.org-mXparser" Version="5.2.1"/>

Maven – Dependency

<dependency>
<groupid>
org.mariuszgromada.math</groupid>
<artifactid>
MathParser.org-mXparser</artifactid>
<version>
5.2.1</version>
</dependency>

Maven – Gradle

implementation 'org.mariuszgromada.math:MathParser.org-mXparser:5.2.1'

Maven – Gradle (Kotlin)

implementation("org.mariuszgromada.math:MathParser.org-mXparser:5.2.1")

GitHub

git clone https://github.com/mariuszgromada/MathParser.org-mXparser

OTHER DOWNLOAD OPTIONS

Download latest release – v.5.2.1 Orion: .NET bin onlyDownload latest release – v.5.2.1 Orion: JAVA bin onlyDownload latest release – v.5.2.1 Orion: bin + doc

NEWS FROM MATHPARSER.ORG
SOURCE CODE

Source code .zipSource code .tar.gz
View on GitHubMathSpace.pl

DONATION
Did you find the software useful?
Please consider donation 🙂
DONATE