Multiplication Calculation help  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

DocEngineer
User
Posts: 8
Joined: Wed Nov 13, 2024 8:18 pm

Multiplication Calculation help

Post by DocEngineer »

Hi, I'm a new user and could use some help.

I have a mileage form that needs to do the following

Mileage1 x 0.67 with the result in a Amount1 field

I haven't figured out how to do this, and know I'm missing something simple here. :|

Thank you!
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11417
Joined: Wed Jan 03, 2018 6:52 pm

Re: Multiplication Calculation help  SOLVED

Post by Daniel - PDF-XChange »

Hello, DocEngineer

The "simple notation" option under value calculation properties for the "amount1" field would likely be the easiest way to accomplish this, assuming that your "0.67" is a static value that will never change.
image.png
With this mode of calculation, any existing "field name" can be written out in place of a static number, with standard operators present for extended actions. Note that if a field name has "spaces" present, you will need to place that name in quotation marks. Ideally, field names should use Underscores instead of spaces, to simplify such cases.
Also, non-numeric characters have a null value for the purpose of these calculations, as an example (i used 0.68 as the multiplier to get more "readable" numbers in my examples here):
PDFXEdit_9RJVk9g5su.gif
If instead the value of that multiple may have some variance, you may want to create a secondary field for holding that cost, which you can adjust the value of, and then use the "product" calculation method instead:
image(1).png
PDFXEdit_FWwlIm4AuP.gif
Kind regards,
You do not have the required permissions to view the files attached to this post.
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com