Community
Participate
Working Groups
Birt Sum the integer or decimal as string When in Spring source tool => Report Design perspective. When in script mode For Report Design => initialize Method. When i include below two package importPackage(Packages.java.util); importPackage(Packages.java.lang); And when i do some of 2 decimal type of column from scripted data set It sum it as string on product string like " 131155299857549634373722897122083369204074743852453774316340430397393943541308401983224429713280922651126260240851979170188841415" above insted of do SUM. e.g entry[0] += Number(imp); When i use below expression. It work fine. entry[0] += Number(imp).longValue(); Also with e.g entry[0] += Number(imp); If i remove importPackage(Packages.java.lang); package then it's work fine. So it's create problem when i include both package.
Hi, would you please attached your report? I don't quite understand your problem. Thanks.
See #comment1. If the issue still exists for you, please feel free to reopen the bug with more details on how to reproduce.