T O P I C R E V I E W |
ovince |
Posted - 11/09/2006 : 2:53:00 PM Hi,
I have an ASCII files. One column contain numbers like
172768983471095000 75094093117521900 75094093180436400 75094093226573800 75094093260128200 75094093297876900
When imported this numbers change into scientific format like
1.72769E17 7.50941E16 7.50941E16 7.50941E16 7.50941E16 7.50941E16
It would be not disaster but when expotring the file it keeps the scientific format. Is there some option to avoid this?
Thanks Oliver |
3 L A T E S T R E P L I E S (Newest First) |
ovince |
Posted - 11/09/2006 : 11:02:10 PM thank you both Deanna, Mike |
Mike Buess |
Posted - 11/09/2006 : 9:50:06 PM Hi Oliver,
You can do that via Origin C with LabTalk's system.numeric.sigDigitsU property...
int susave = LabTalk.system.numeric.sigdigitsu; LabTalk.system.numeric.sigdigitsu = 18; Worksheet wks = Project.ActiveLayer(); string strFile = GetSaveAsBox("*.dat"); wks.ExportASCII(strFile, WKS_EXPORT_ALL); LabTalk.system.numeric.sigdigitsu = susave;
Mike Buess Origin WebRing Member |
Deanna |
Posted - 11/09/2006 : 8:32:18 PM Hi Oliver. I think you can turn off the scientific notation before exporting the column. This could be done by: 1. From Origin menu, choose Tools: Option. 2. In the Numeric Format tab of the Options dialog, change the Upper Threshold Power to 18 (if the largest number is 1.72769E17 as you have posted here.). Click OK to close the dialog. 3. You would be asked: "Save as Origin's start up Options?" Please click OK. 4. Then you can export the data with Origin.
If you want, you can reset the Options after the exportation.
Deanna OriginLab Technical Services |