PDF Editing Issues

How to Stop PDF Form Fields from Rounding Decimals

Emma BrownEmma Brown Oct 28, 2026 868 views

Question details

The user wants to prevent a fillable PDF form field from automatically rounding entered decimal numbers to the nearest whole number.

How to Stop PDF Form Fields from Rounding Decimals
Product
PDF
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.
Before you start

Ensure you have the necessary editing permissions for the PDF document, as altering field formatting requires access to the form's backend editing tools.

Solution 1Recommended

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.

1
Open Field Properties

Enter the form editing mode in your PDF editor, right-click on the affected text field, and select 'Properties' from the context menu.

2
Navigate to Format Tab

In the Properties dialog box, click on the 'Format' tab located at the top.

3
Select Number Category

From the 'Select Format Category' drop-down menu, choose 'Number'.

4
Set Decimal Places

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.

Adjust the Form Field Number Format Settings
Check Calculation Scripts: If the issue persists after changing the format, navigate to the Calculate and Validate tabs within the same Properties dialog. A custom JavaScript might be programmed to round the values automatically.
Edit PDF Forms Seamlessly

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. 1. Open the PDF: Launch WPS Office and open your fillable PDF document.
  2. 2. Access Form Tools: Navigate to the 'Form' tab on the top ribbon to enter the form editing mode.
  3. 3. Adjust Properties: Double-click the specific form field, go to 'Format', and easily set your preferred decimal places.
Easily adjust number formats and decimal places for precisionHighly compatible with Adobe Acrobat PDF and Microsoft Office formatsLightweight, fast, and user-friendly PDF editing interfaceCross-platform support for Windows, Mac, and mobile devices
microsoft office alternative - wps office

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.