Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

Calculation Scripts Aren't Working!

$
0
0

I have two calculation scripts that were working but now are not after some adobe updates. It isn't making any sense to me and I haven't been able to figure it out. Can anyone see where my problem might be??

 

The scripts are:

 

// custom calculation script  lenderstitle;

// lenderstitle = (loanamount * .0026) round up to neareast 10th; // compute value;

var lenderstitle = this.getField("loanamount").value * 0.0026; // round value;

event.value = MyRound(lenderstitle, 1);

 

 

and

 

 

// ownerstitle = (((loanamount * .0046) - lenderstitle)) round up to nearest 10th   

// compute value

var ownerstitle = this.getField("loanamount").value * 0.00465 - this.getField  ("lenderstitle").value;

// round value;

event.value = MyRound(ownerstitle, 1);

 

Any help to solve this mystery would be greatly appreciated!


Viewing all articles
Browse latest Browse all 12130

Trending Articles



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