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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Significant Digits
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

sebbey

Germany
70 Posts

Posted - 06/11/2012 :  05:18:41 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Penn

China
644 Posts

Posted - 06/11/2012 :  9:06:08 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

sebbey

Germany
70 Posts

Posted - 06/12/2012 :  09:22:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you Penn,

I wasn't able to find this code.

Sebbey
Go to Top of Page

greg

USA
1378 Posts

Posted - 06/13/2012 :  11:49:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
FYI
Worksheet Display is for your eyes only. Origin always 'sees' the correct underlying value whether it's a number or Date or Time.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000