Contact: aviboots(AT)netvision.net.il
32,304 questions
42,479 answers
573 users
package main import ( "fmt" "strconv" ) func main() { s := "FF" if n, err := strconv.ParseInt(s, 16, 64); err != nil { fmt.Println(err) } else { fmt.Println(n) } } /* run: 255 */