Help Formatting Outputs?
- To: mathgroup at smc.vnet.net
- Subject: [mg16966] Help Formatting Outputs?
- From: Gutierrez Family <gutierrez_fam at geocities.com>
- Date: Thu, 8 Apr 1999 02:32:55 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Hello everyone, I've been experimenting with formatting results to a desired number of significant figures. For the most part, I've found PrintPrecision (in the "Option Inspector" window) quite useful. However, I have a couple of related questions... 1) How can I display Trailing Zeros? ex: (253/11.2)*(1/0.62137)*(1/3.8754) = 9.60374 (displaying 6 significant figures using PrintPrecision). If I change this value to 3, the output is 9.6 (when in fact I'd like to see 9.60). I've even tried N[%, 3] but still get 9.6 as a result. 2) Is there a way to display a result in scientific notation WITHOUT using ScientificForm[expr]? Perhaps using a similar feature in the "Option Inspector" window? ex: (150/2.2046)*6 = 408.237 (again, displaying 6 significant figures using PrintPrecision). I would like to get the same result as ScientificForm[%,1] or 4.x10^2 (in scientific notation with 1 significant figure). But it would be nice if I could do it "in the background" so to speak (like changing the number of significant figures using PrintPrecision). If anyone could help me out, it would be greatly appreciated. Thanks in advance. Daly Gutierrez