silly question on formatting tables

*To*: mathgroup at smc.vnet.net*Subject*: [mg129091] silly question on formatting tables*From*: alba.maydeu at gmail.com*Date*: Fri, 14 Dec 2012 03:01:20 -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

Dear all, Consider the matrix {{0, 0, 1.19092}, {0.883038, 0, 0.366804}, {0, 0, 0}} How can I display it in matrixform/tableform so that the integers are displayed as integers and the reals are displayed only with 2 decimals? If I use MatrixForm, the reals are displayed with 6 decimals, and if I use TableForm all numbers, including integers are displayed with 2 decimals. Thanks!

**Follow-Ups**:**Re: silly question on formatting tables***From:*Bob Hanlon <hanlonr357@gmail.com>

**Re: silly question on formatting tables***From:*James Stein <mathgroup@stein.org>