Category: | Bug report |
Priority: | Normal |
Status: | Feedback Requested |
Project: | Severity: | Minor |
Resolution: | Fixed |
|
Component: | Reproducibility: | Always |
Assigned to: |
java.lang.Double value formatting bug:
* Field Type: java.lang.Double
* Pattern: #,##0.00#
* Value from JSON Data Source: 13
Displayed velue: 13.0
Expectation: 13.00
v6.10
4 Comments:
Where did you set the pattern? In the data adapter/data source or for the text element where the value is displayed?
i have same problem too
have some variables ($V{}), do some calculations in textfield
pattern set as style - not work
pattern set in field prop - work
and have one more problem
if i divide one variable or parameter i don't get double value in textfield,i get only integer (and mask from style don't work too)
for double value i need make double (parse or valueOf) at least one parameter
very need this functional (from style - less template)
my problem solve with rollback Jasper Studio from 6.13-6.14 to 6.12.2
all works good ... look at other my bug report with Cross Tab (problem in Jasper Studio >= 6.13)
JSS 6.16 - all fixed