Fórum Limitar casas decimais #567753
09/04/2009
0

Tjorssato
Curtir tópico
+ 0Posts
09/04/2009
Carlos Heuberger
1 2 | DecimalFormat df = new DecimalFormat("0.00"); String str = df.format(0.501); |
Gostei + 0
09/04/2009
Tjorssato
Gostei + 0
09/04/2009
Carlos Heuberger
1 2 3 4 5 | double valor; DecimalFormat df = new DecimalFormat("0.00"); ... valor = 0.501; String str = df.format(valor); |
Gostei + 0
09/04/2009
Tjorssato
Gostei + 0
12/06/2014
Cristiano Torres
1 2 3 4 5 | double valor; DecimalFormat df = new DecimalFormat("0.00"); ... valor = 0.501; String str = df.format(valor); |
Gostei + 0
13/06/2014
André Pereira
1 2 3 4 5 | double valor; DecimalFormat df = new DecimalFormat("0.00"); ... valor = 0.501; String str = df.format(valor); |