MathGroup Archive 2012

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

Search the Archive

Re: silly question on formatting tables


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