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
 Origin Forum
 Problem with adding rationals numbers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

liquepapini

Brazil
Posts

Posted - 05/20/2007 :  11:15:50 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Mike Buess

USA
3037 Posts

Posted - 05/20/2007 :  11:49:05 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

liquepapini

Brazil
Posts

Posted - 05/22/2007 :  10:36:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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 cant 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...
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 05/22/2007 :  11:07:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

liquepapini

Brazil
Posts

Posted - 05/23/2007 :  07:05:13 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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!!!

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