Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
===========
Calculation (product with large numbers) does not work as expected (result is a negativ number).
i.e.:
long lDelay = (90*24*60*60*1000);
returns a negativ number
Environment:
===========
BusinessEvents (all versions)
All Operating Systems
Symptoms:
=========
expression returns the wrong result (negativ number)
Cause:
======
Java issue
Resolution:
========
All numbers in the expression are of type int. To fix it change one number to type long (i.e., 90L) so that the expression is a long.
i.e.:
long lDelay = (90L*24*60*60*1000);