Definitionپێناسە
A number with a decimal point, such as 3.14 or 750.5. In PHP its type is called float (also known as double).
ژمارەیەکە کە خاڵی دەیی هەیە، وەک 3.14 یان 750.5. لە PHPـدا بە جۆری float دەناسرێت (هەروەها پێی دەگوترێت double).
Exampleنموونە
PHP drops the final zero when it prints the number.
PHP لە کاتی نووسینی ژمارەکەدا سفرە کۆتاییەکە لادەبات.
$price = 750.50;
var_dump($price); // float(750.5)Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
ژمارەی دەیی، فلۆت، ژمارەی ناتەواو، کەرت، ژمارە کەرتییەکە، ژمارە کەرتییەکان، ژمارەیەکی کەرتی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
The notes call these ژمارەی کەرتی ("fractional numbers"); ژمارەی دەیی (decimal number) is also common. Kurdish scientists' dictionary: ژمارەی ناتەواو، کەرت (and ژمارە ڕاستییەکان for 'real'). Barzinji's dictionary has only ژمارەی ڕاستی (real number).
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Why 0.7 + 0.6 does not print exactly 1.3: computers store decimals in binary, so floats are approximations.
بۆچی Python بۆ 0.7 + 0.6 ژمارەی 1.2999999999999998 پیشان دەدات: ژمارەی بە هەڵدەگرێت، بۆیە زۆر ژمارەی سادە تەنها نزیکەیین.
Learn how big a float can be, why float maths can give tiny errors, and why comparing two floats with == is risky.
فێر دەبیت تا چەند گەورە دەبێت، بۆچی ژمێرکاری بە هەڵەی زۆر بچووک دەدات و بۆچی بەراوردکردنی دوو بە == مەترسیدارە.
Learn more inزیاتر فێربە لە
- Data typesجۆرەکانی دراوە
- Operators and Expressionsکارپێکەرەکان و دەربڕینەکان
- Variables and Data Typesگۆڕاوەکان و جۆرەکانی دراوە
- Arrays in PHPڕیزەکەکان لە PHPـدا
- Operatorsکارپێکەرەکان
- Rounding and Decimal Placesنزیککردنەوە و خانە دەییەکان
- Modules and importمۆدیوڵەکان و import
- Variablesگۆڕاوەکان
- Functions for Arraysکردارەکانی ڕیزەک
- What Computers Do Well and Where They Fall Shortکۆمپیوتەرەکان لە چیدا باشن و لە کوێدا کەم دەهێنن
- Field Properties: Sizes, Formats and Input Masksتایبەتمەندییەکانی ستوون: قەبارە، Format و ماسکەکانی نێوخستە
- Positional, Keyword and Default Argumentsئارگیومێنتە شوێنییەکان، ئارگیومێنتە ناودارەکان و نرخە بنەڕەتییەکان
- Output with echo and printدەرخستە بە echo و print
- Inserting and selecting data with PHPزیادکردن و هەڵبژاردنی زانیاری بە PHP
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە
- Input and Outputنێوخستە و دەرخستە
- The for Loop and range()خولی for و
range() - Return Values and Noneنرخە گەڕاوەکان و None
- Handling Errors with try and exceptمامەڵەکردن لەگەڵ هەڵاوێردە بە try و except
- Python Next to JavaPython لە تەنیشت Javaـەوە
- Script Files, input, disp and fprintfفایلەکانی دەسنووس، input، disp و fprintf
- From Decimal to Binary, Octal and Hexلە دەییەوە بۆ دووانی، هەشتی و شانزەیی
- SQL Functions, Aggregates and GROUP BYکردارەکانی SQL، کردارەکانی کۆکردنەوە و GROUP BY
- Data and Informationدراوە و زانیاری
- Dart Basics: Variables, Types and Control Flowبنەماکانی Dart: گۆڕاوەکان، جۆرەکان و ڕێڕەوی کۆنترۆڵ
- The Python You Need for the AI Labsئەو Pythonـەی بۆ تاقیگەکانی ژیریی دەستکرد پێویستە
- Sets of Numbers: From Natural to Complexکۆمەڵەکانی ژمارە: لە ژمارە سروشتییەکانەوە تا ژمارە ئاوێتەکان
- Absolute Valueنرخی ڕووت
- Graphs of Linear and Power Functions; Even and Odd Functionsهێڵکاریی نەخشە هێڵییەکان و نەخشەکانی هێز؛ نەخشە جووتەکان و نەخشە تاکەکان
- Logarithms and Their Rulesلۆگاریتمەکان و یاساکانیان
- Product (Π) Notationنیشانەی پی (Π)
- Programming Languagesزمانەکانی بەرنامەسازی
- Your First Program: print() and Commentsیەکەم بەرنامە:
print()و لێدوانەکان - Adding to a List and Finding Itemsزیادکردن بۆ لیستێک و دۆزینەوەی دانەکان
- sum, max, min and Sortingsum، max، min و ڕیزکردن
- Stacks: Last In, First Outستاکەکان: دوایین هاتوو، یەکەم دەرچوو
- Vectors and Rangesئاڕاستەبڕەکان و زنجیرەکان
- Securing Data in PHP and MySQLپاراستنی دراوە لە PHP و MySQL