The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: "FortranForm" for numbers?
Replies: 1   Last Post: Aug 16, 1996 3:03 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 72
Registered: 12/7/04
"FortranForm" for numbers?
Posted: Aug 7, 1996 4:01 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


1) A simple way to put an option at the start of a notebook so that all
output numbers (in Print, Write, TableForm, etc) will come out in
something similar to Fortran format, e.g.


(I don't care much about the exact number of digits, or exactly where the
decimal point ends up, and the exponent part can be skipped if not
needed. Note that in mma FortranForm[1/7] comes out as 1/7 and not

2) I'd also like to understand why TableForm sometimes comes out with
blank lines between each line of output and sometimes not, on the same
table (and it's not due to word wrapping). And how to put multiple
"sometable // TableForm ;" statements inside a Do loop and have them

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.