Data Import & Export

How to Preserve Decimal Places When Importing CSV Files into WPS Spreadsheets

Huma Ashraf ChHuma Ashraf Ch Nov 13, 2026 869 views

Question details

The user needs to import or open a CSV file in WPS Spreadsheets without losing decimal places, rounding, truncation, or trailing zeros in numeric values.

Preserve Decimal Places When Importing CSV Files into WPS Spreadsheets
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
A user opens a CSV file containing values with many decimal places and needs those values to retain their exact precision.
Observed behavior
Imported values appear rounded or truncated, and digits beyond supported precision may be replaced with zeroes when cells use General formatting or are stored as numbers.
Before you start

Before formatting, click an imported cell and check the formula bar to see whether the full value was retained. If digits beyond 15 significant digits already show as zeroes, re-import the CSV with those columns set to Text.

Solution 1Recommended

Format Imported Cells as Number and Increase Decimal Places

Use this solution when the full value is still present in the formula bar but WPS Spreadsheets is displaying fewer decimal places.

CSV files opened directly are often assigned the General format, which hides some decimal places depending on column width and value length.

Formatting the cells as Number does not change the stored value; it only changes how the value is displayed.

1
Select the imported cells

Highlight the column or range that contains the decimal values.

2
Open Format Cells

Right-click the selected range and choose Format Cells, or go to the Home tab and click the Number Format dropdown.

3
Choose Number and set decimal places

In the Format Cells dialog, select Number under Category, then set the Decimal places box to the required number of digits.

4
Apply the format

Click OK to apply the Number format and display the full available precision in the selected cells.

Format Imported Cells as Number and Increase Decimal Places
Display precision restored: If the original CSV contains the full value, the Number format shows all decimal places that WPS Spreadsheets can store.
WPS Office direct solution

Import CSV Files in WPS Spreadsheets Without Losing Decimal Precision

WPS Spreadsheets gives you direct tools to open CSV files, format numbers, and import high-precision columns as text so decimal values remain intact in a familiar Office interface.

  1. 1. Download WPS Office: Go to the official WPS website and download WPS Office for your device, then complete the installation.
  2. 2. Open WPS Spreadsheets: Launch WPS Office and open WPS Spreadsheets, then create a blank workbook.
  3. 3. Import the CSV file: Click the Data tab and use Data > Import Data > From Text/CSV to load your CSV file.
  4. 4. Format or import as text: Format the imported cells as Number with the required decimal places, or set high-precision columns to Text during import.
  5. 5. Save your workbook: Save the workbook as .xlsx or another supported format to keep your formatting and data intact.
Control number formatting and decimal places during CSV import in WPS Spreadsheets.Open, edit, and save .csv and .xlsx files with Microsoft Office format compatibility.Use the free WPS Office suite for data import, formatting, and analysis without a subscription.Switch to a familiar ribbon interface with a lightweight and easy-to-use spreadsheet application.
microsoft office alternative - wps office

Frequently Asked Questions

Why do CSV decimal values show fewer decimal places in WPS Spreadsheets?

When a CSV file is opened directly, cells often use the General format, which displays a limited number of digits. Select the cells, go to Home > Number Format, choose Number, and increase the decimal places to show more precision.

How can I stop long numbers from becoming zeroes when importing a CSV?

Import the CSV with the text import tool instead of opening it directly. In WPS Spreadsheets, click Data > Import Data > From Text/CSV and set the affected column format to Text before loading the data.

Does WPS Spreadsheets have the same 15 significant digit limit as Microsoft Excel?

Yes, WPS Spreadsheets stores numeric values with up to 15 significant digits for Excel-compatible numeric behavior. To keep more precision, import such values as text.

Can I recover decimal places that were already replaced with zeroes after opening a CSV?

No, digits that have already been discarded from a numeric value cannot be recovered. If the original CSV still contains them, re-import the file and set the column to Text.

Is the CSV import tool in WPS Office free to use?

Yes, WPS Office includes WPS Spreadsheets and the CSV import and formatting tools in its free version, and it also supports Microsoft Excel formats.