Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Over/under flow problems and calculation sign

Avatar

Level 4

I have two problems here and I need some help.  I'm having continued overflow/underflow problems and can't figure out what I'm doing wrong.  Here is a script.

If (Page2.Table2.Row40.Line40VOC > 0) then

$.rawValue = Page2.Table2.Row40.Line40VOC / Page2.Table3.Row44.Line44VOC;

endif

My second problem is:  If a negative number is entered in Line 40, then Line 46 needs to be a positive number.

The script I have for line 46 is: 

if(Page2.Table2.Row40.Line40VOC > 0) then

$.rawValue = Page2.Table2.Row40.Line40VOC / Page2.Table3.Row44.Line44VOC;

endif

Any help would be greatly appreciated.

Connie Bretes

0 Replies

Avatar

Level 10

Try this script to avoid under/overflows and also to calculate with negative numbers:

If (Page2.Table2.Row40.Line40VOC ne null and Page2.Table3.Row44.Line44VOC ne null) then

     $ = Page2.Table2.Row40.Line40VOC / Page2.Table3.Row44.Line44VOC;

endif