Re: Formatting Numeric Outpuit
- To: mathgroup at smc.vnet.net
- Subject: [mg104820] Re: [mg104782] Formatting Numeric Outpuit
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Wed, 11 Nov 2009 04:25:07 -0500 (EST)
- References: <200911101057.FAA19555@smc.vnet.net>
Hi,
what about
Column[NumberForm[#, {5, 3}, NumberPadding -> {"0", "0"}] & /@
RandomReal[100, 10]]
?
Cheers
Patrick
On Tue, 2009-11-10 at 05:57 -0500, BenT wrote:
> Please consider these Mathematica 7 code Input lines:
>
> n1 = RandomReal[100, 10]
>
> n2 = NumberForm[n1, {3, 3}]
>
> Column[n2, Right]
>
> What I expected to get was "ignored", namely right aligned "arbitrary"
> numeric data with 3 digits to the right, and 3 digits to the left of
> the decimal point) formatted in a single column. How can this be
> achieved with any numeric list of data?
>
> --- Benjamin Tubb
>
- References:
- Formatting Numeric Outpuit
- From: BenT <brtubb@pdmusic.org>
- Formatting Numeric Outpuit