Re: silly question on formatting tables
- To: mathgroup at smc.vnet.net
- Subject: [mg129101] Re: silly question on formatting tables
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Sat, 15 Dec 2012 05:50:03 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <kaem93$5qp$1@smc.vnet.net>
Maybe this will help: dgMF[x_] := Map[If[Head[#] === Real, NumberForm[#, {20, 2}], #] &, x, {2}] // MatrixForm mat = {{0, 0, 1.19092}, {0.883038, 0, 0.366804}, {0, 0, 0}}; dgMF[mat] -- _________________________________________________________________ Peter Breitfeld | Bad Saulgau, Germany | http://www.pBreitfeld.de