Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

How do I multiple a number after it rounds up?

$
0
0

I have a form asking for miles traveled. I need what they enter to round up to the next nearest whole mile. I have called that field "mileage". I have set it to whole numbers and it rounds up nicely for display. Now I need to multiple that new rounded "mileage" number by .56 (that field is called "auto"). What I currently have in the "auto" field is: mileage*.56  Unfortunately, it still uses whatever they type in to calculate with and not the rounded up "mileage" whole number.

 

What script do I need on which field to make the 56 cent calculation apply to the rounded up mileage and not the entered amount which it's currently doing?


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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