Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. double numero = .332341;
  2. String modificar = formato.format(numero); //debe quedar .332
  3. double nuevo = Double.parseDouble(formato.format(modificar)); //no convierte
  4. System.out.println(nuevo); //nada
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement