اقتطاع الرقم
يؤدي الاقتطاع إلى قطع الدقة نحو الصفر ولا يطبق قواعد التقريب أو التعادل.
حاسبة التقريب
أدخل رقمًا واختر تفضيلات التقريب الخاصة بك
|
🪄 أمثلة سريعة
📋 كيف يعمل
كيف يعمل
1
خطوة 1
Choose the place value or decimal precision to keep.
2
خطوة 2
Remove all digits beyond that position.
3
خطوة 3
Return the toward-zero result.
📊 أمثلة
أمثلة عملت
Examples show deterministic cut-off behavior for positive and negative inputs.
| الإدخال | الهدف | الطريقة | النتيجة |
|---|---|---|---|
| 2.99 | أقرب رقم صحيح | اقتطاع (نحو الصفر) | 2 |
| -2.99 | أقرب رقم صحيح | اقتطاع (نحو الصفر) | -2 |
| 45.6789 | أقرب مائة (2 dp) | اقتطاع (نحو الصفر) | 45.67 |
نصائح
الأخطاء الشائعة
تجنب أخطاء التقريب المتكررة هذه عند التحقق من صحة المخرجات.
- 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.
❓ الأسئلة الشائعة
الأسئلة المتداولة
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.