MathGroup Archive 1992

[Date Index] [Thread Index] [Author Index]

Search the Archive

"FORTRAN" format followup


[My earlier mail asks for help in getting Mathematica to print numbers
in FORTRAN-like "e" format when using FullForm.]

Okay, sorry, reading The Book more closely offers a solution:

NumberForm[ FullForm[ expr ], NumberFormat -> (SequenceForm[#1, "e", #3]&) ]

does what I want (see p 352).  Note that FortranForm[] does *not* work
for my purposes because it "unFullForm's" a FullForm expression
besides printing the numbers in Fortran form.

Franz Amador
franz at cs.washington.edu
{rutgers,cornell,ucsd,ubc-cs,tektronix}!uw-beaver!june!franz

	 








  • Prev by Date: Re: Which computer to buy (NeXT, Mac, PC)...
  • Next by Date: Loop problem
  • Previous by thread: Displaying real numbers
  • Next by thread: Loop problem