fixes bug #9659
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@73172 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e9e58fad50
commit
ba890a5ee0
|
@ -239,7 +239,9 @@ public class EditarTramosController extends MyGenericForwardComposer {
|
|||
|
||||
private String maskKmReal(BigDecimal kmReal) {
|
||||
try {
|
||||
return BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(kmReal, Locale.getDefault());
|
||||
String resp = kmReal.toString();
|
||||
resp = resp.replaceAll("\\.", ",");
|
||||
return resp;
|
||||
} catch (Exception e) {
|
||||
}
|
||||
return StringUtils.EMPTY;
|
||||
|
|
Loading…
Reference in New Issue