Re: Percentage Formating
- To: mathgroup at smc.vnet.net
- Subject: [mg111052] Re: Percentage Formating
- From: "Christoph Lhotka" <lhotka at axp.mat.uniroma2.it>
- Date: Sun, 18 Jul 2010 01:05:31 -0400 (EDT)
PercentageForm[x_ /; 0 <= x <= 1] := StringReplace[ToString[IntegerPart[10000 x]/100.] <> "%", ".%" -> ".00%"] best regards... On 17/07/2010 14:16, SMiranda wrote: > There's an easy way of formating percentage numbers form reporting > purposes... > I mean... 0.05263 --> 5.26% > > Thanks ! > >