Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

multiply by integer using tMap

Hello,
I want to calculate a percentage but when I multiply by 100 I get an error : bigdecimal is not defined for the type Im 
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi,
There is not enough information for us to address your issue.
Could you please post your tMap editor screenshot with expression into forum?
Best regards
Sabrina
Anonymous
Not applicable
Author

here is my expression 
0683p000009MAvp.png 0683p000009MBE6.png 0683p000009MAvq.png  
Anonymous
Not applicable
Author

Hi,
Have you checked mathematics operation (add, subtract, multiply, divide etc) with data type bigdecimal in doc:http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?
You can use setScale() function for bigdecimal which will help u for rounding or setting the scale. Elaborating your case with an example with input and expected output values will be preferred.
Best regards
Sabrina