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
 mean value
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Bempel

France
19 Posts

Posted - 02/23/2003 :  6:30:40 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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