소나큐브 버그 수정

main
이범준 7 months ago
parent 09c864030e
commit 87a182817e

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

Loading…
Cancel
Save