How to Stop PDF Form Fields from Rounding Decimals
Question details
The user wants to prevent a fillable PDF form field from automatically rounding entered decimal numbers to the nearest whole number.

- Product
- Device & OS
- not provided
- Scenario
- Filling out or designing a fillable PDF form that requires accurate, exact decimal values.
- Observed behavior
- When entering a number with decimals (such as 2.8) into a PDF form field, the value automatically rounds up or down to a whole number with zero decimal places.
Ensure you have the necessary editing permissions for the PDF document, as altering field formatting requires access to the form's backend editing tools.
Adjust the Form Field Number Format Settings
Modify the formatting settings of the specific text field to explicitly allow one or more decimal places.
By default, PDF form fields might be configured to display numbers with zero decimal places. Adjusting the formatting properties will force the field to retain your exact input.
Enter the form editing mode in your PDF editor, right-click on the affected text field, and select 'Properties' from the context menu.
In the Properties dialog box, click on the 'Format' tab located at the top.
From the 'Select Format Category' drop-down menu, choose 'Number'.
Locate the 'Decimal Places' option and change it from 0 to your desired number (e.g., 1 or 2), then click 'Close' to save your changes.

Format PDF Form Fields with WPS Office
WPS Office provides a comprehensive PDF editor that allows you to easily create, edit, and correctly format fillable form fields without unexpected rounding errors.
- 1. Open the PDF: Launch WPS Office and open your fillable PDF document.
- 2. Access Form Tools: Navigate to the 'Form' tab on the top ribbon to enter the form editing mode.
- 3. Adjust Properties: Double-click the specific form field, go to 'Format', and easily set your preferred decimal places.

Frequently Asked Questions
Why does my PDF form field keep changing 2.8 to 3?
This happens because the text field is formatted as a Number with zero decimal places. You can fix this by right-clicking the field, opening Properties, and adjusting the decimal places setting under the Format tab.
Can I apply decimal formatting to multiple PDF form fields at once?
Yes. While in form editing mode, you can hold down the Shift or Ctrl key to select multiple text fields, right-click to open Properties, and apply the Number format with specific decimal places to all selected fields simultaneously.
What if changing the format does not stop the rounding?
If adjusting the format tab does not resolve the issue, the field might be running a custom script. Check the Calculate and Validate tabs in the field properties to see if any JavaScript is actively forcing the value to round.




