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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Big Decimal to Integer conversion

Hi,
Is there anyone know how to convert data type from Big Decimal to Integer? I cant use Integer.parseInt(BigDecimal_value) since the argument is for string only. I try to search in the forum but I can only see conversion from Integer to Big Decimal.
Regards,
Mohd Fuzaimi
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi Mohd Fuzaimi
The expression is as folow.
row1.newColumn.intValue()         //The type of newColumn is BigDecimal.

Regards,
Pedro
Anonymous
Not applicable
Author

Thanks pedro it works. I am also found another solution just now which is using tConvertType which can change any datatype according to what I want.
Regards,
Mohd Fuzaimi
_AnonymousUser
Specialist III
Specialist III

Thanks the intValue() works 0683p000009MACn.png