Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/06/2009, 16:25
Avatar de sanchezg
sanchezg
 
Fecha de Ingreso: abril-2009
Mensajes: 76
Antigüedad: 15 años
Puntos: 0
Pregunta NumberFormat formatter = new DecimalFormat("###.00");

HOLA OJALA HAYA ALGUIEN QUE PUEDA AYUDARME GRAX

NECESITO PONER ALGO ASI COMO UN NumberFormat formatter = new DecimalFormat("###.00"); PERO EL PROBLEMA ES QUE MI PRINT TIENE VARIOS OBJETOS FLOAT Y STRING...

out.print=(""+nombre1+" cantidad "+cantidad1+" total "+opera1+"");

en la cual a cantidad y total es a la que le quiero poner format ###.00 alguien sabe como lo puedo hacer? grax