Mileage Reimbursement Formula (custom calculation) Issue with the decimal points

New Here ,
May 31, 2018 May 31, 2018

Copy link to clipboard

Copied

We have a Mileage Reimbursement form. I was tasked with figuring out how to automatically calculate the miles due. Below is what I did to make it calculate.
Prepare form.PNG

Now the problem is that when someone puts in decimals it goes into some really long decimal.

Issue.png

But it's only some of the decimals and it doesn't matter where on the column the decimal is put it will do it. All Decimals.PNG

Can some please tell me what I should do? Thnnk you!

TOPICS
Acrobat SDK and JavaScript, Windows

Views

179

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 31, 2018 May 31, 2018

Copy link to clipboard

Copied

LATEST

Change the field's Format to Number with 2 decimals.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines