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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Subtracting big decimal values

Can some one help me to perform subtraction between two big decimals. 

Example:

 

a   b     o/p

5   2.5  2.5

 

Thanks in advance.

Crteja

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Assume both fields are declared as BigDecimal:
a.subtract(b)

View solution in original post

1 Reply
TRF
Champion II
Champion II

Assume both fields are declared as BigDecimal:
a.subtract(b)