Loose Precision when retrieve data from rest web service

0

Hi,

I use a rest service from jasper studio.
My data is for example : "5.65" (In JSON format)
When i click on Data preview , it show only '5'.  (The field is BigDecimal)

In my web service, if i change the mysql query with

 REPLACE (myValue, '.',',') // Replace dot by comma

The JSON become : '5,65' and it works ...

How can i cast this value in Jasper to avoid the use of replace...

Thanks

jeff_33's picture
Joined: Jun 19 2018 - 9:16am
Last seen: 1 year 2 months ago

0 Answers:

No answers yet
Feedback
randomness