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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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)