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

Currency Conversion Form with Dividing

$
0
0

I have been searching all over and I cannot figure this out.  I am creating and almost done with a form that will calculate the currency conversion rate for Foreign Lodging Receipts.  Basically I need to be able to show how much the lodging is per night in U.S. Dollars.  We use the Total Foreign Currency on the receipt / Total U.S. Dollars charged on the credit card statement.  There are some times, when we need to round a nightly rate up or down by a cent in order to equal the Total U.S. Dollars charged on the statement.

 

For example, $270.11 was charged on the credit card.  The individual stayed only 2 nights.  $270.11 / 2 = $135.055 per night.  However, I need my Livecycle Table Calculation comes to $135.06 per night and shows the Total Lodging as $270.11.  But I need it to round one night to $135.05.  Otherwise, the credit card will be overpaid by 1 cent.

 

I can send or upload the form, however I do not see where i can upload.

 

Jessica


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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