Java:Formatter
De W3API
Contenido |
[editar] Descripción
[editar] Sintaxis
public final class Formatter extends Object implements Closeable, Flushable
[editar] Ejemplo
int numero = 425;
Formatter fmt = new Formatter();
fmt.format("%08d",numero);
System.out.println("El numero formateado " + fmt);