Potong Nombor
Pemangkasan memotong ketepatan ke arah sifar dan tidak menggunakan peraturan pusingan atau seri.
Kalkulator Pembundaran
Masukkan nombor dan pilih pilihan pembundaran anda
|
🪄 Contoh Pantas
📋 Bagaimana Ia Berfungsi
Bagaimana Ia Berfungsi
1
Langkah 1
Choose the place value or decimal precision to keep.
2
Langkah 2
Remove all digits beyond that position.
3
Langkah 3
Return the toward-zero result.
📊 Contoh
Contoh Kerja
Examples show deterministic cut-off behavior for positive and negative inputs.
| Input | Sasaran | Kaedah | Hasilnya |
|---|---|---|---|
| 2.99 | Nombor Bulat Terdekat | Potong (Menuju Sifar) | 2 |
| -2.99 | Nombor Bulat Terdekat | Potong (Menuju Sifar) | -2 |
| 45.6789 | Perseratus Terhampir (2 dp) | Potong (Menuju Sifar) | 45.67 |
Petua
Kesilapan Biasa
Elakkan ralat pembundaran yang kerap ini semasa mengesahkan output.
- Calling truncate a nearest-value rounding method.
- Confusing truncate with floor for negatives.
- Using truncation where tie-aware rounding is required.
- Dropping expected output precision in display formatting.
❓ Soalan Lazim
Soalan Lazim
Is truncation the same as rounding?
No. Truncation removes digits without choosing the nearest value.
How is truncate different from floor?
Truncate goes toward zero, while floor goes toward negative infinity.
When should truncation be used?
Use truncation when exact cut-off behavior is required by your process.
Can truncation be applied to large place values?
Yes. It works for tens, hundreds, thousands, and other supported places.