|
|
@ -319,12 +319,12 @@ abstract public class LayoutParser {
|
|
|
|
while(!end) {
|
|
|
|
while(!end) {
|
|
|
|
String removed = StringUtils.removeEnd(itemValue, "0");
|
|
|
|
String removed = StringUtils.removeEnd(itemValue, "0");
|
|
|
|
if(removed.equals(itemValue)) {
|
|
|
|
if(removed.equals(itemValue)) {
|
|
|
|
itemValue = removed;
|
|
|
|
|
|
|
|
end = true;
|
|
|
|
end = true;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
itemValue = removed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
itemValue = itemValue.replaceAll("0+$", "");
|
|
|
|
|
|
|
|
if(itemValue.endsWith(".")){
|
|
|
|
if(itemValue.endsWith(".")){
|
|
|
|
itemValue = itemValue + "0";
|
|
|
|
itemValue = itemValue + "0";
|
|
|
|
}
|
|
|
|
}
|
|
|
|