Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

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



  • Prev by Date: Re: Mathematica 9 does not read mathematica 8 ".mx" files
  • Next by Date: ask about the mathematica warning
  • Previous by thread: Re: silly question on formatting tables
  • Next by thread: Re: silly question on formatting tables