Units

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. The math collection library is available at runtime and is fully and identically supported by the Java (including Kotlin, Android), C# (all .NET) and C++ versions.

Tutorial Math Collection API spec Download

mXparser – built-in units of length

KeywordTypeSyntaxSinceDescription
[m]Unit[m]4.0Meter – Unit of length [m] (m=1) – Unit
[km]Unit[km]4.0Kilometer – Unit of length [m] (m=1) – Unit
[cm]Unit[cm]4.0Centimeter – Unit of length [m] (m=1) – Unit
[mm]Unit[mm]4.0Millimeter – Unit of length [m] (m=1) – Unit
[inch]Unit[inch]4.0Inch – Unit of length [m] (m=1) – Unit
[yd]Unit[yd]4.0Yard – Unit of length [m] (m=1) – Unit
[ft]Unit[ft]4.0Feet – Unit of length [m] (m=1) – Unit
[mile]Unit[mile]4.0Mile – Unit of length [m] (m=1) – Unit
[nmi]Unit[nmi]4.0Nautical mile – Unit of length [m] (m=1) – Unit
as of 2023-01-29

mXparser – built-in units of area

KeywordTypeSyntaxSinceDescription
[m2]Unit[m2]4.0Square meter – Unit of area [m²] (m=1) – Unit
[cm2]Unit[cm2]4.0Square centimeter – Unit of area [m²] (m=1) – Unit
[mm2]Unit[mm2]4.0Square millimeter – Unit of area [m²] (m=1) – Unit
[are]Unit[are]4.0Are – Unit of area [m²] (m=1) – Unit
[ha]Unit[ha]4.0Hectare – Unit of area [m²] (m=1) – Unit
[acre]Unit[acre]4.0Acre – Unit of area [m²] (m=1) – Unit
[km2]Unit[km2]4.0Square kilometer – Unit of area [m²] (m=1) – Unit
as of 2023-01-29

mXparser – built-in units of volume

KeywordTypeSyntaxSinceDescription
[mm3]Unit[mm3]4.0Cubic millimeter – Unit of volume [m³] (m=1) – Unit
[cm3]Unit[cm3]4.0Cubic centimeter – Unit of volume [m³] (m=1) – Unit
[m3]Unit[m3]4.0Cubic meter – Unit of volume [m³] (m=1) – Unit
[km3]Unit[km3]4.0Cubic kilometer – Unit of volume [m³] (m=1) – Unit
[ml]Unit[ml]4.0Milliliter – Unit of volume [m³] (m=1) – Unit
[l]Unit[l]4.0Liter – Unit of volume [m³] (m=1) – Unit
[gall]Unit[gall]4.0Gallon – Unit of volume [m³] (m=1) – Unit
[pint]Unit[pint]4.0Pint – Unit of volume [m³] (m=1) – Unit
as of 2023-01-29

mXparser – built-in units of time

KeywordTypeSyntaxSinceDescription
[s]Unit[s]4.0Second – Unit of time [s] (s=1) – Unit
[ms]Unit[ms]4.0Millisecond – Unit of time [s] (s=1) – Unit
[min]Unit[min]4.0Minute – Unit of time [s] (s=1) – Unit
[h]Unit[h]4.0Hour – Unit of time [s] (s=1) – Unit
[day]Unit[day]4.0Day – Unit of time [s] (s=1) – Unit
[week]Unit[week]4.0Week – Unit of time [s] (s=1) – Unit
[yearj]Unit[yearj]4.0Julian year = 365.25 days – Unit of time [s] (s=1) – Unit
as of 2023-01-29

mXparser – built-in units of mass

KeywordTypeSyntaxSinceDescription
[kg]Unit[kg]4.0Kilogram – Unit of mass [kg] (kg=1) – Unit
[gr]Unit[gr]4.0Gram – Unit of mass [kg] (kg=1) – Unit
[mg]Unit[mg]4.0Milligram – Unit of mass [kg] (kg=1) – Unit
[dag]Unit[dag]4.0Decagram – Unit of mass [kg] (kg=1) – Unit
[t]Unit[t]4.0Tonne – Unit of mass [kg] (kg=1) – Unit
[oz]Unit[oz]4.0Ounce – Unit of mass [kg] (kg=1) – Unit
[lb]Unit[lb]4.0Pound – Unit of mass [kg] (kg=1) – Unit
as of 2023-01-29

mXparser – built-in units of information

KeywordTypeSyntaxSinceDescription
[b]Unit[b]4.0Bit – Unit of information [bit] (bit=1) – Unit
[kb]Unit[kb]4.0Kilobit – Unit of information [bit] (bit=1) – Unit
[Mb]Unit[Mb]4.0Megabit – Unit of information [bit] (bit=1) – Unit
[Gb]Unit[Gb]4.0Gigabit – Unit of information [bit] (bit=1) – Unit
[Tb]Unit[Tb]4.0Terabit – Unit of information [bit] (bit=1) – Unit
[Pb]Unit[Pb]4.0Petabit – Unit of information [bit] (bit=1) – Unit
[Eb]Unit[Eb]4.0Exabit – Unit of information [bit] (bit=1) – Unit
[Zb]Unit[Zb]4.0Zettabit – Unit of information [bit] (bit=1) – Unit
[Yb]Unit[Yb]4.0Yottabit – Unit of information [bit] (bit=1) – Unit
[B]Unit[B]4.0Byte – Unit of information [bit] (bit=1) – Unit
[kB]Unit[kB]4.0Kilobyte – Unit of information [bit] (bit=1) – Unit
[MB]Unit[MB]4.0Megabyte – Unit of information [bit] (bit=1) – Unit
[GB]Unit[GB]4.0Gigabyte – Unit of information [bit] (bit=1) – Unit
[TB]Unit[TB]4.0Terabyte – Unit of information [bit] (bit=1) – Unit
[PB]Unit[PB]4.0Petabyte – Unit of information [bit] (bit=1) – Unit
[EB]Unit[EB]4.0Exabyte – Unit of information [bit] (bit=1) – Unit
[ZB]Unit[ZB]4.0Zettabyte – Unit of information [bit] (bit=1) – Unit
[YB]Unit[YB]4.0Yottabyte – Unit of information [bit] (bit=1) – Unit
as of 2023-01-29

mXparser – built-in units of energy

KeywordTypeSyntaxSinceDescription
[J]Unit[J]4.0Joule – Unit of energy [J] (m=1, kg=1, s=1) – Unit
[eV]Unit[eV]4.0Electronovolt – Unit of energy [J] (m=1, kg=1, s=1) – Unit
[keV]Unit[keV]4.0Kiloelectronovolt – Unit of energy [J] (m=1, kg=1, s=1) – Unit
[MeV]Unit[MeV]4.0Megaelectronovolt – Unit of energy [J] (m=1, kg=1, s=1) – Unit
[GeV]Unit[GeV]4.0Gigaelectronovolt – Unit of energy [J] (m=1, kg=1, s=1) – Unit
[TeV]Unit[TeV]4.0Teraelectronovolt – Unit of energy [J] (m=1, kg=1, s=1) – Unit
as of 2023-01-29

mXparser – built-in units of speed

KeywordTypeSyntaxSinceDescription
[m/s]Unit[m/s]4.0Meter per second – Unit of speed [m/s] (m=1, s=1) – Unit
[km/h]Unit[km/h]4.0Kilometer per hour – Unit of speed [m/s] (m=1, s=1) – Unit
[mi/h]Unit[mi/h]4.0Mile per hour – Unit of speed [m/s] (m=1, s=1) – Unit
[knot]Unit[knot]4.0Knot – Unit of speed [m/s] (m=1, s=1) – Unit
as of 2023-01-29

mXparser – built-in units of acceleration

KeywordTypeSyntaxSinceDescription
[m/s2]Unit[m/s2]4.0Meter per square second – Unit of acceleration [m/s²] (m=1, s=1) – Unit
[km/h2]Unit[km/h2]4.0Kilometer per square hour – Unit of acceleration [m/s²] (m=1, s=1) – Unit
[mi/h2]Unit[mi/h2]4.0Mile per square hour – Unit of acceleration [m/s²] (m=1, s=1) – Unit
as of 2023-01-29

mXparser – built-in units of angle

KeywordTypeSyntaxSinceDescription
[rad]Unit[rad]4.0Radian – Unit of angle [rad] (rad=1) – Unit
[deg]Unit[deg]4.0Degree of arc – Unit of angle [rad] (rad=1) – Unit
[‘]Unit[‘]4.0Minute of arc – Unit of angle [rad] (rad=1) – Unit
[”]Unit[”]4.0Second of arc – Unit of angle [rad] (rad=1) – Unit
as of 2023-01-29
Nuget – Package Manager (C#, F#, Visual Basic, …)

Install-Package MathParser.org-mXparser -Version 6.1.0

Nuget – .NET CLI

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

Nuget – Package Reference

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

Maven – Dependency (Java, Kotlin, Scala, Groovy, …)

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

Maven – Gradle

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

CMake – Dependency / FetchContent (C++, MSVC, LLVM/Clang, GNU/GCC, MinGW, MSYS2, WSL, Windows, Linux, Unix, MacOS)

include(FetchContent)
FetchContent_Declare(
MathParserOrgMxParser
GIT_REPOSITORY
https://github.com/mariuszgromada/MathParser.org-mXparser.git
GIT_TAG
v.6.1.0
SOURCE_SUBDIR CURRENT/cpp/lib
)
FetchContent_MakeAvailable(
MathParserOrgMxParser)
target_link_libraries(YourExecutable
MathParserOrgMxParser)

GitHub

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

OTHER DOWNLOAD OPTIONS

Download latest release – v.6.1.0 Sagitara: .NET bin onlyDownload latest release – v.6.1.0 Sagitara: JAVA bin onlyDownload latest release – v.6.1.0 Sagitara: bin + doc

NEWS FROM MATHPARSER.ORG
SOURCE CODE

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

My other creative spaces

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