Understand the subject
What is truncation?
Truncation removes digits after a chosen place without deciding whether to round up.
Use it when a rule explicitly discards precision, or when you need to distinguish truncation from rounding.
The key rule
What stays true
trunc(−1.9) = −1
See the idea
Visual explanation
−1.9cut here → −1
Example
Apply it
At zero decimal places, −1.9 truncates to −1.
Truncation is not floor for negative values.
Quick guide
How to use this calculator
- Enter a finite decimal.
- Choose 0–100 decimal places.
- 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.