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
mean value
New Topic
Reply to Topic
Printer Friendly
Author
Topic
Bempel
France
19 Posts
Posted - 02/23/2003 : 6:30:40 PM
How can I change the following commands (taken from my script), so that the mean value is only displayed with 2 significant numbers after the comma? (24,57 instead of 24,573825)
set col(L) -bs rr1;
set col(L) -es rr2;
sum(col(L));
%M="T\-(eff) = $(sum.mean) C"
label -s -p 103 10 \+(%M);
Best regards
Stephane
Mike Buess
USA
3037 Posts
Posted - 02/23/2003 : 6:44:43 PM
Hi Stephane,
%M="T\-(eff) = $(sum.mean,.2) C" ;
Look for "Substitution Notation" in the Programming Guide Index for more numeric to string conversions.
Mike Buess
Origin WebRing
Member
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Viewer Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000