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
Install-Package MathParser.org-mXparser -Version 5.0.2
Maven
<dependency>
<groupid>org.mariuszgromada.math</groupid>
<artifactid>MathParser.org-mXparser</artifactid>
<version>5.0.2</version>
</dependency>
Gradle
implementation 'org.mariuszgromada.math:MathParser.org-mXparser:5.0.2'
Gradle (Kotlin)
implementation("org.mariuszgromada.math:MathParser.org-mXparser:5.0.2")
GitHub
git clone https://github.com/mariuszgromada/MathParser.org-mXparser
OTHER DOWNLOAD OPTIONS

Download latest release – v.5.0.2 Leonis: bin + docDownload latest release – v.5.0.2 Leonis: bin only, includes separate binaries for various .NET platforms and Java versions
Source code .zipSource code .tar.gz
View on GitHubMathSpace.pl

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