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
 Origin Forum
 Problem with adding rationals numbers

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
liquepapini Posted - 05/20/2007 : 11:15:50 PM
First sorry by my english (I´m brazilian)
My problem is this: when I add a rational number (ex: 2.3), the program acept this like a text. The way I used is create two coluns (a,b) and used b=a/10, so this way I can add a rational number... (ex: I want 3.4, so a=34 and b=34/10=3.4 )
Please help me. How can I fix this problem?
Thanks.

Edited by - liquepapini on 05/20/2007 11:17:36 PM

Edited by - liquepapini on 05/20/2007 11:17:56 PM
4   L A T E S T    R E P L I E S    (Newest First)
liquepapini Posted - 05/23/2007 : 07:05:13 AM
thanks Mike!!
that realy help-me!!
My windows may have a wrong configuration, but this is a very easy way to fix it!
Thank you very much!!!

Mike Buess Posted - 05/22/2007 : 11:07:38 AM
Is this just a problem that your program expects a comma ',' as separator (34/10 = 3,4 rather than 3.4)? You can change the separator used by Origin with Tools > Options.



Mike Buess
Origin WebRing Member
liquepapini Posted - 05/22/2007 : 10:36:01 AM
My problem is this, when I input the rational number (3.4), origin add 34 or 3.4 in text format... The only way that I can add a rational number is col(b)=col(a)/10. Resume: My program can´t understand a rational number input.
I think this problem is a wrong windows configuration... My friend fix this formating his PC, but I wont do that...
Mike Buess Posted - 05/20/2007 : 11:49:05 PM
The expression col(B)=col(A)/10 fills col(B) with the 1/10 times the values in col(A). (In the Set Column Values dialog for column B just enter col(A)/10.) For rational numbers this is exactly the same as typing the values into col(B). 34/10 is exactly the same as typing 3.4 so I don't understand your comment "the program accept this like a text" or how it is a problem to add rational numbers.

Mike Buess
Origin WebRing Member

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