Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Input and Output / Data Reading Options  /
Real

  • Real is the head used for real (floating-point) numbers.
  • _Real can be used to stand for a real number in a pattern.
  • You can enter a floating-point number of any length.
  • You can enter a number in scientific notation by using the form mantissa *^ exponent.
  • You can enter a floating-point number in base b using b ^^ digits. The base must be less than 36. The letters a-z or A-Z are used in sequence to stand for digits 10 through 35.
  • Real is also used to indicate an approximate real number in Read.
  • See the Mathematica book: Section 2.11.7Section 3.1.1.
  • See also: RealDigits, BaseForm, Number.

    Further Examples

    Only the third number is Real.

    In[1]:=

    Out[1]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.