Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9064

Re: Export Data and Decimal Separator

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Export Data and Decimal Separator
Date 2012-03-15 05:40 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jjrvbg$9h3$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 3/14/12 at 12:36 AM, rodrigomurtax@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"]

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Export Data and Decimal Separator Bill Rowe <readnews@sbcglobal.net> - 2012-03-15 05:40 +0000
  Re: Export Data and Decimal Separator Murta <rodrigomurtax@gmail.com> - 2012-03-16 11:34 +0000
    Re: Export Data and Decimal Separator Norbert Marxer <marxer@mec.li> - 2012-03-17 07:55 +0000
      Re: Export Data and Decimal Separator Rodrigo Murta <murta@rodrigomurta.com> - 2012-03-19 10:04 +0000
    Re: Export Data and Decimal Separator Murray Eisenberg <murray@math.umass.edu> - 2012-03-18 07:55 +0000
    Re: Export Data and Decimal Separator Rodrigo Murta <murta@rodrigomurta.com> - 2012-03-19 10:03 +0000

csiph-web