I have to implement the following :
The expression should be evaluated as a QUAD and then assigned to a LONG variable (QUAD upper limit > expression > LONG upper limit will be true before the last division). Is it necessary (or more optimal/efficient) to use CQUD at any point? Like so:
lTransition = (CQUD(VAL( sTransitionDate)) * %WorkPeriod - qfBaseDate) \ %WorkPeriod
Code:
%WorkPeriod = 3000000000&& LOCAL lTransition AS LONG, sTransitionDate AS STRING, qfBaseDate AS QUAD ... lTransition = (VAL( sTransitionDate) * %WorkPeriod - qfBaseDate) \ %WorkPeriod
lTransition = (CQUD(VAL( sTransitionDate)) * %WorkPeriod - qfBaseDate) \ %WorkPeriod
Comment