摘要: package mainimport ( "fmt")func main() { a := 1 fmt.Println(a) //前置补0 fmt.Printf("%03d", a) fmt.Println("") fmt.Printf("%0*d", 3,... 阅读全文
posted @ 2014-04-15 13:58 forrestsun 阅读(16726) 评论(0) 推荐(2) 编辑