Timeline for Export table of mixed data without shortened decimal notation?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 11, 2021 at 16:08 | answer | added | Ben Izd | timeline score: 1 | |
Oct 13, 2020 at 16:42 | comment | added | Daniel Huber | If you give your file another extension, e.g. ".dat", you will get: {{A, 307190000.}, {B, 184830000.}, {C, 6930000.}} and if you are not happy with the braces, you say: "Export["d:/tmp/test.dat", StringDelete[ToString@AccountingForm@data, "{" | "}"]] " . This will give you: A, 307190000., B, 184830000., C, 6930000. | |
Oct 13, 2020 at 15:56 | comment | added | Kagaratsch | @DanielHuber This seems to export a string of the mathematica list, not a csv table. | |
Oct 13, 2020 at 15:28 | comment | added | Daniel Huber | You could e.g. try: Export["filename, ToString@AccountingForm@data] | |
Oct 13, 2020 at 15:22 | comment | added | Kagaratsch |
@RohitNamjoshi No, sorry, that was a typo, I've fixed it now. The digits stay the same of course, I'd just like to get rid of the e shorthand notation.
|
|
Oct 13, 2020 at 15:22 | history | edited | Kagaratsch | CC BY-SA 4.0 |
edited body
|
Oct 13, 2020 at 15:15 | comment | added | Rohit Namjoshi |
3.0766e8 is saved as 307190000 does not look right. Are you saying that in your example 3.0719*^8 is saved as 3.0766e8 ?
|
|
Oct 13, 2020 at 15:04 | history | asked | Kagaratsch | CC BY-SA 4.0 |