wilian 2017-08-26 19:42:03 +00:00
parent e9e58fad50
commit ba890a5ee0
1 changed files with 3 additions and 1 deletions

View File

@ -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;