WOLFRAM
Products
Wolfram|One
Mathematica
Wolfram Notebook Assistant + LLM Kit
Wolfram|Alpha Notebook Edition
System Modeler
All Products
Consulting & Solutions
Wolfram Consulting
Industry Solutions
Solutions for Education
Learning & Support
Wolfram U Courses
Wolfram Language Resources
Wolfram Community
Support FAQs
Contact Support
Company
About Wolfram
Careers
Events
Educational Programs
All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
Your Account
User Portal
Search
Close
Enable JavaScript to interact with content and submit forms on Wolfram websites.
Learn how
Legacy Documentation
The Mathematical Explorer
TM
(2001)
This is documentation for an obsolete product.
Current products and services
InputForm
InputForm[
expr
]
prints as a version of
expr
suitable for input to
Mathematica
.
Example:
InputForm[x^2 + 1/a]
.
InputForm
always produces one-dimensional output, suitable to be typed as lines of
Mathematica
input.
InputForm
acts as a "wrapper", which affects printing, but not evaluation.
Put
(
>>
) produces
InputForm
by default.
Short[InputForm[
expr
]]
can be used, but may generate skeleton objects which cannot be given as
Mathematica
input.
The option
NumberMarks
can be used to specify whether
`
marks should be used to indicate type, precision or accuracy of approximate numbers.
See
The Mathematica Book:
Section 1.9.4
,
Section 1.10.9
andÂ
Section 2.8.1
.
See also:
OutputForm
,
StandardForm
.
Further Examples