---
title: "java string 补0"
author: "zgzdlm"
date: "2013-04-23T19:48:53Z"
tags: []
categories: ["编程语言"]
slug: "java-string-0"
draft: false
lastmod: "2013-04-23T19:48:53Z"
id: 1852254
url: "https://zgzdlm.iteye.com/blog/1852254"
---

String.format("%02d",1);// => "01"