$VersionNumber

$VersionNumber

is a real number which gives the current Wolfram Language kernel version number, and increases in successive versions.

Details

  • To find out if you are running under Version 11 or above, you can use the test TrueQ[$VersionNumber11.0].
  • A version with a particular number is typically derived from the same source code on all computer systems.

Examples

Basic Examples  (2)

Show the version number:

In[1]:=
Click for copyable input
Out[1]=

Define a function that uses a newer function in newer versions:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

See Also

$Version  $ReleaseNumber  SystemInformation

Tutorials

Introduced in 1991
(2.0)