Run ❯
×
Change Orientation
Change Theme, Dark/Light
package main import ("fmt") func main() { var i = 15 fmt.Printf("%b\n", i) fmt.Printf("%d\n", i) fmt.Printf("%+d\n", i) fmt.Printf("%o\n", i) fmt.Printf("%O\n", i) fmt.Printf("%x\n", i) fmt.Printf("%X\n", i) fmt.Printf("%#x\n", i) fmt.Printf("%4d\n", i) fmt.Printf("%-4d\n", i) fmt.Printf("%04d\n", i) }
1111 15 +15 17 0o17 f F 0xf 15 15 0015