RE: Output control

*To*: mathgroup at smc.vnet.net*Subject*: [mg32919] RE: [mg32898] Output control*From*: "David Park" <djmp at earthlink.net>*Date*: Tue, 19 Feb 2002 02:30:03 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Gustavo, I have no idea why you get 0. for a small number. It would help if you had a simple example. This gives the full numbers: x = 6.54*^-3; Table[x^(-10i), {i, -3, 3}] To obtain scientific notation just use ScientificForm x 0.00654 ScientificForm[x] 6.54 x 10^-3 You might also want to investigate NumberForm and EngineeringForm. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ > -----Original Message----- > From: Gustavo Seabra [mailto:seabra at ksu.edu] To: mathgroup at smc.vnet.net > Sent: Monday, February 18, 2002 5:23 AM > To: mathgroup at smc.vnet.net > Subject: [mg32919] [mg32898] Output control > > > Hello, > > I'm trying to control a basic output in Mathematica, but with little > luck. Whenever I get a number smaller than a certain threshold > (that I don't > know which is) Mathematica outputs jus a "0.", and not the > number. Also, it > would rather write 0.00000654 than 6.54x10^6. Is there a way to modify the > default styles in Mathematica to: > 1) Actually write a number of the kind 6.5435 x 10^-19 > 2) make it give all results smaller than a certain threshold (say, > 10^-1) in scientific notation? > > Thanks, > > -- > ----------------------------------------------------------------- > Gustavo Seabra - Graduate Student > Chemistry Department > Kansas State University > ----------------------------------------------------------------- > > >