MathGroup Archive 2010

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

Search the Archive

Re: Number output formatting was Re: First function debug help

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106724] Re: Number output formatting was Re: First function debug help
  • From: Albert Retey <awnl at gmx-topmail.de>
  • Date: Fri, 22 Jan 2010 05:35:55 -0500 (EST)
  • References: <hj987d$g0o$1@smc.vnet.net>

Am 21.01.2010 10:53, schrieb Canopus56:
> Dear Group,
>> I could use some help in coaxing the JulianDayNumber output from an
>> exponential form, e.g. - 2.43612*10^6 into the form: 2436116.31
> 
> Jumping back to my 1-18 message, any ideas on how to force the
> formatting of the number output of the function.

one simple possibility is this:

AccountingForm[x, 10]

or if you need a string for e.g. exporting it:

ToString[AccountingForm[x, 10]]

hth,

albert


  • Prev by Date: Re: Re: Testing Mathematica Expressions?
  • Next by Date: *newbie* output of ScalarTripleProduct
  • Previous by thread: Number output formatting was Re: First function debug help
  • Next by thread: Re: More /.{I->-1} craziness. Schools are conservative. So are [people]