Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Designer
Viewing all articles
Browse latest Browse all 16286

I keep getting an arithmetic over/underflow error

$
0
0

I am very new to Livecycle (I have only been using it for about a month and a half), and I have come across an issue when trying to create a calculation using FormCalc. I have a table where users input data, and I want one of the fields to run a calculation based on the previously entered values. The formula is this:

 

[value I want calculated]=[value1] *360/([value2]-[value3])

 

My understanding of the problem is that prior to user input, the values 2 and 3 are calculated as zero. I have looked around and I know that in order to avoid this problem, I have to script something along the lines of:

 

if(value2>0)and(value3>0)then

[value I want calculated]=[value1] *360/([value2]-[value3])endif

 

Unfortunately, I am not that great with scripting and this does not seem to work for me. If anyone could help me out, I would greatly appreciate it.


Viewing all articles
Browse latest Browse all 16286

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>