Re: Help Please with numbers
- Posted by CoJaBo <CoJaBo_7th_EUforum_Address at CJBN.net> Aug 01, 2005
- 620 views
Rangel, Hebert Rogelio wrote: > > hello, when i try to do any mathematical operation it gives a letter as > answer, li This is one of the basics of Euphoria atoms: http://www.rapideuphoria.com/refman_2.htm#11 Please read the manual, either in the EUPHORIA\HTML folder, or online at http://www.rapideuphoria.com/manual.htm > if i say > > <eu> > > global constant EditText20 = create( EditText, "", Window1, 356, 8, 32, 20, 0 > ) > global constant EditText21 = create( EditText, "", Window1, 396, 8, 88, 20, 0 > ) > global constant Button1 = create( PushButton, "ok", Window1, 20, 36, 56, 24, 0 > ) > > object r1 > object r2 > object r3 > object r4 > > r1 = getText(EditText20) > r2 = getText(Edittext21) > r3 = r1 + r2 > r4 = message_box(r1 & "/" & r2,"OK", 0) That should be somthing like message_box(sprint(r1) & "/" & sprint(r2),"OK", 0) > > </eu> > > it gives a letter as result i know i have to change the r1 and r2 to number > but how?! > thanks 4 u help > >