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

MathGroup Archive 2010

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

Search the Archive

Re: exponential format

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114015] Re: exponential format
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sat, 20 Nov 2010 18:25:14 -0500 (EST)

The OP asked for a result of 6.25e-01, so I presume he meant to write 
that the original number was 0.0625, not 0.25.

However, NONE of the proffered solutions below produces the desired "e" 
format he requested in this case.  Nor does the method illustrated in 
the documentation:

   NumberForm[0.0625, NumberFormat -> (SequenceForm[#1, "e", #3] &)]

On 11/19/2010 5:10 AM, Barrie Stokes wrote:
> Hi Magdalena
>
> You might like some of
>
> ScientificForm[ 0.25 ]
>
> EngineeringForm[ 0.25 ]
>
> EngineeringForm[ 0.25, {5, 2} ]
>
> FortranForm[ 0.000000025 ]
>
> EngineeringForm[ 0.000000025 ]
>
> Cheers
>
> Barrie
>
>>>> On 18/11/2010 at 11:03 pm, in message<201011181203.HAA05779 at smc.vnet.net>,
> Magdalena Moczydlowska<magdamoczydlowska at gmail.com>  wrote:
>> Hi,
>>
>> Maybe my question is silly but I can not find any answer in the net ?
>> How to change in Mathematica a normal number format to exponential
>> notation. I mean for example 0.25->6.25e-02.
>>
>> Thank you for any suggestion,
>> Magdalena
>
>

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: maximum of a series
  • Next by Date: Re: Mathematica 8 "natural language" capabilities
  • Previous by thread: Re: exponential format
  • Next by thread: Re: exponential format