Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Export Data and Decimal Separator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125493] Re: Export Data and Decimal Separator
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Thu, 15 Mar 2012 00:34:48 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

On 3/14/12 at 12:36 AM, rodrigomurtax at gmail.com (Murta) wrote:

>I would like to know how could I export some data using comma as
>decimal separator.
>I tried this: data={{1.3,2.3},{3.2,4.3}} Export["file.txt", data,
>"TSV", {NumberPoint -> ","}]

>But didn't worked. Some idea?

"TSV" = tab separated values
"CSV" = comma separated values

Try that instead. That is

Export["file.txt", data, "CSV"]




  • Prev by Date: Re: Possibly related to my post "Unexpected Graph Output"...
  • Next by Date: Re: Rationalized Fitting
  • Previous by thread: Export Data and Decimal Separator
  • Next by thread: Re: Export Data and Decimal Separator