The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Significant Digits

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
sebbey Posted - 06/11/2012 : 05:18:41 AM
Origin Ver. 8.6.0G
Operating System: Windows 7 Professional

Hi everyone,

I would like to ask if its possible to change the number of significant digits with a labtalk script.

Does Origin use the rounded values to calculate, or does it use the correct values even though the rounded values are shown in the cells.

Thanks in advance,
sebbey

3   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 06/13/2012 : 11:49:21 AM
FYI
Worksheet Display is for your eyes only. Origin always 'sees' the correct underlying value whether it's a number or Date or Time.
sebbey Posted - 06/12/2012 : 09:22:08 AM
Thank you Penn,

I wasn't able to find this code.

Sebbey
Penn Posted - 06/11/2012 : 9:06:08 PM
Hi sebbey,

Origin will use the correct values, but not the rounded values shown in the cells, to calculate. To change the significant digits with LabTalk, please refer to the following:

wks.col1.digitmode = 2;  // set the significant digit mode for column 1
wks.col1.digits = 10;  // set 10 significant digits shown in cells for column 1


Penn

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000