Jump to content
We've recently updated our Privacy Statement, available here ×

comparison with BigDecimal type field giving an error


ajith.devendra

Recommended Posts

Hi Dear

I am using below expression just to check whether the  variable is greater than 5000 then to initialize to Zero 

IF($V{DUTYPageTotal}>=5000 , 0 )[/code]

but its giving me an error 

“The operator >= is undefined for the argument types BigDecimal,int .

 

Class  of the $V{DUTYPageTotal} is java.math.BigDecimal

 

Pls help me the fix this error

 

Ajith

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...