Ok, but no 'as int'. Please excuse any typos. This message is sent from my mobile device.
On Jun 9, 2010, at 9:37 PM, "Woody & Yuni Ho" <hwoody2w...@yahoo.com> wrote: > > > Dim a as int > A = cint(txtstr) > > Woody > > > Woody wizard at large(I'm in shape. Round is a shape) > Connected by MOTOBLURâ„¢ on T-Mobile > > -----Original message----- > From: Nathan <eeepc...@gmail.com> > To: nsbasic-ce@yahoogroups.com > Sent: Wed, Jun 9, 2010 18:13:04 PDT > Subject: [nsbasic-ce] Convert String To Integer And Vice-Versa > > Hello, > I'm building a calculator application, and I have a Form, with a TextBox > called txtVisor, that has the property NumbersOnly = true. I want to get the > content of it(that I already know: txtVisor.Text) and convert it into a > Integer, to do multiply it by 12, then convert the result into a String to > set the txtVisor.Text as the result of the operation. How could I do this? > > Best Regards, > Nathan Paulino Campos > > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to nsb...@googlegroups.com. To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.