Thanks veery much! All that I need to do is CStr(result) :)

--- In [email protected], "George Henne" <g...@...> wrote:
>
> Have you checked the Language Reference?
> 
> Please see "Conversions".
> 
> The answer is also in Tutorial 3, which I have referred you to already.
> 
> >But how to convert the integer to a string that I could use with the
> >txtVisor.Text?
> >
> >PS: Remember that I need to convert from string to integer and to string.
> >
> >--- In [email protected], "Woody & Yuni Ho" <hwoody2wood@> wrote:
> >>
> >> Sorry...keep thinking vb.
> >> 
> >> Dim a
> >> 
> >> A=cint(txtstr)
> >> 
> >> 
> >> Woody wizard at large(I'm in shape. Round is a shape)
> >> Connected by MOTOBLURâ?¢ on T-Mobile
> >> 
> >> -----Original message-----
> >> From: George Henne <gh@>
> >> To: "[email protected]" <[email protected]>
> >> Sent: Wed, Jun 9, 2010 18:42:08 PDT
> >> Subject: Re: [nsbasic-ce] Convert String To Integer And Vice-Versa
> >> 
> >> 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" <hwoody2wood@> 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 <eeepc904@>
> >> > To: [email protected]
> >> > 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
> >> > 
> >> > 
> >> > 
> >> >
> >>
> >
> >
> >
> >
> >------------------------------------
> >
> >Yahoo! Groups Links
> >
> >
> >
>


-- 
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en.

Reply via email to