Number Fundamentals & Precision

Truncation Calculator

Remove digits beyond a selected decimal place toward zero.

Exact arithmetic

Remove digits toward zero

0–100 places

Truncated value

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Quick guide

How to use this calculator

  1. Enter a finite decimal.
  2. Choose 0–100 decimal places.
  3. Read the value after discarded digits are removed without nearest rounding.

Calculation method

Discard rather than round

The exact scaled integer is divided by the target power of ten with its remainder removed toward zero. For negative input, this differs from floor.

Worked example

Truncating a negative value

Removing all fractional digits moves −1.9 toward zero, not toward negative infinity.

trunc(−1.9) = −1

Supported inputs

Precision and limits

Exact decimal input

Finite decimals use integer-scaled arithmetic, with no binary floating-point conversion.

Input boundary

Unless stated otherwise, use at most 200 digits total and 100 digits after the decimal marker.