This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

$VersionNumber

$VersionNumber
is a real number which gives the current Mathematica kernel version number, and increases in successive versions.
  • To find out if you are running under Version 6 or above, you can use the test TrueQ[$VersionNumber>=6.0].
  • A version with a particular number is typically derived from the same source code on all computer systems.
New in 2