Contact: aviboots(AT)netvision.net.il
39,970 questions
51,912 answers
573 users
package main import ( "fmt" "strconv" ) func main() { i := 255 s := strconv.FormatInt(int64(i) , 2) fmt.Printf("Type : %T \nValue : %v\n", s, s) } /* run: Type : string Value : 11111111 */