java string 补0 zgzdlm · 2013-04-23 19:48 · java string 位数 · 编程语言 · Markdown String.format("%02d",1);// => "01"