SmartQueryTools

Round Numbers in Arrow Files Online

Round numeric columns in Arrow files to any number of decimal places directly in your browser. Set precision per column with a simple slider — no upload required.

How to round Numbers in Arrow files

  1. Drop your file onto the upload area. Every numeric column is listed with its type, ticked, and set to 2 decimal places.
  2. Untick columns you want to leave alone, such as IDs, or use the All and None links.
  3. Drag each column's slider to set its decimal places, from 0 to 6. Each column can have its own setting.
  4. Click Round, check the preview of the first 200 rows, and download the file in the same format.

Your file is processed locally in your browser and is never uploaded. The free limit is 50 MB per file; larger files work if your device has the memory for them.

Worked example

A rainfall log from regional weather stations carries GPS coordinates to five decimals and rainfall to three. A public dashboard only needs about 100 m accuracy and one decimal of rain.

Input (Arrow)

Arrow IPC file (binary, columnar) — shown as a table with its schema

stationlatlonrain_mm
Kelburn-41.28496174.7678512.46
Ohakea-40.20611175.388720.05
Paraparaumu-40.90431174.985563.349
Masterton-40.97512175.63089NULL

Schema: station VARCHAR, lat DOUBLE, lon DOUBLE, rain_mm DOUBLE

Settings

  • lat: 3 decimal places
  • lon: 3 decimal places
  • rain_mm: 1 decimal place

Result

stationlatlonrain_mm
Kelburn-41.285174.76812.5
Ohakea-40.206175.3890.1
Paraparaumu-40.904174.9863.3
Masterton-40.975175.631NULL

Each column is rounded to its own number of places. Halves round away from zero, so 0.05 becomes 0.1 and -41.28496 becomes -41.285. Masterton has no reading and stays empty. The station column is text and is not listed. Rounding changes the stored value, not just the display.

Frequently Asked Questions

How are halves rounded?

Away from zero. 2.5 rounds to 3 and -2.5 rounds to -3 at 0 places. This matches Excel's ROUND, not the banker's rounding used by some programming languages.

Can I round down, round up, or truncate instead?

No. The tool only does standard rounding. For floor, ceiling or truncation, use the SQL workspace with floor(), ceil() or trunc().

Can I round to the nearest 10 or 100?

No. The slider runs from 0 to 6 decimal places. To round to tens or hundreds, use round(x, -1) or round(x, -2) in the SQL workspace.

Related Tools

Aggregate CSV Files Online

Group and aggregate CSV files by any column directly in your browser. Calculate sum, average, min, max, and count for any numeric column — no upload required.

Bin Column in CSV Files Online

Bucket a numeric column in CSV files into labelled ranges — equal-width bins or custom edges. Runs entirely in your browser.

Normalize Columns in CSV Files Online

Normalize numeric columns in CSV files using min-max scaling (0–1) or z-score standardisation (mean=0, std=1). Adds new columns alongside the originals — no upload required.

Round Numbers in CSV Files Online

Round numeric columns in CSV files to any number of decimal places directly in your browser. Set precision per column with a simple slider — no upload required.

Round Numbers in Excel Files Online

Round numeric columns in Excel files to any number of decimal places directly in your browser. Set precision per column with a simple slider — no upload required.

Round Numbers in Parquet Files Online

Round numeric columns in Parquet files to any number of decimal places directly in your browser. Set precision per column with a simple slider — no upload required.

Round Numbers in JSON Files Online

Round numeric columns in JSON files to any number of decimal places directly in your browser. Set precision per column with a simple slider — no upload required.

Arrow Viewer Online

View and inspect Arrow files directly in your browser. Browse rows, check column names and data types — no upload required, your data stays on your device.