so what is the solution, I have a variable type is uint32, and now want to
convert a string to that variable ?
On Thursday, April 8, 2010 at 4:23:21 PM UTC+3 peterGo wrote:
> Joan,
>
> Read the replies to your messages form yesterday. You would see:
>
> if bar, err := strconv.Atoui(t[1]); err == nil {
> f.bar = uint32(bar)
> }
>
> Peter
>
> On Apr 8, 8:57 am, Joan Miller <[email protected]> wrote:
> > How to convert a string to uint32?
> >
> > The library `strconv` has not a function to convert to uint32
> > else to uint64 and uint
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/fb45a070-dfa5-466c-a9c8-13faf97baac4n%40googlegroups.com.