1. Glossaryفەرهەنگی زاراوەکان
Floor division
دابەشکردنی بەرەو خوار
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

Division that throws away the fraction and rounds down to a whole number. In Python 17 // 5 is 3 and -7 // 2 is -4 (rounded down, not towards zero); % gives the that is left.

دابەشکردنێکە کە بەشی کەرتی فڕێ دەدات و ئەنجامەکە بەرەو خوار دەکات بە . لە Pythonـدا 17 // 5 دەکاتە 3 و -7 // 2 دەکاتە ⁦-4⁩ (بەرەو خوار، نەک بەرەو سفر)؛ %ـیش ئەو دەدات کە دەمێنێتەوە.

Exampleنموونە

17 sweets in bags of 5: 3 full bags and 2 sweets left.

⁦17⁩ شیرینی لە کیسەی 5 دانەییدا: 3 کیسەی پڕ و 2 شیرینی دەمێنێتەوە.

sweets = 17
print(sweets // 5)   # 3 full bags
print(sweets % 5)    # 2 sweets left

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

دابەشکردنی تەواو

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

Descriptive coinage: division rounded down (بەرەو خوار), which is exactly what 'floor' means (see floor-function in the calculus terms). دابەشکردنی تەواو is only an alternative: php-operators already uses that phrase for an exact division. Proposed.

Related termsزاراوە پەیوەندیدارەکان

Learn more inزیاتر فێربە لە