About 319,000 results
Open links in new tab
  1. Built-in Types — Python 3.14.2 documentation

    3 days ago · There are three distinct numeric types: integers, floating-point numbers, and complex numbers. In addition, Booleans are a subtype of integers. Integers have unlimited precision.

  2. Python int () Function - W3Schools

    Definition and Usage The int() function converts the specified value into an integer number.

  3. Python int() Function - GeeksforGeeks

    Sep 26, 2025 · The Python int () function converts a given object to an integer or converts a decimal (floating-point) number to its integer part by truncating the fractional part.

  4. Python int () (With Examples) - Programiz

    In this tutorial, you will learn about the Python int () function with the help of examples.The int () method returns an integer object from any number or string.

  5. Python int (): Convert a String or a Number to an Integer

    In this tutorial, you'll learn how to use Python int () to convert a number or a string to an integer.

  6. int | Python’s Built-in Data Types – Real Python

    In this tutorial, you'll learn about numbers and basic math in Python. You'll explore integer, floating-point numbers, and complex numbers and see how perform calculations using …

  7. Python int (Integer) Data Type - PyTut

    This page is a summary of Python int (integer) data type – its basic characteristics, how to create an int, how to convert other data types to int, basic arithmetic and comparison operations, and …

  8. Python int

    int in Python is one of the basic built-in datatype among numeric datatypes, the others being float and complex. In this tutorial, we shall learn how to initialize an integer, what range of values an …

  9. Python int () Function - PerfCode

    5 days ago · In Python, the int() function is used to convert a numeric value or string into an integer.

  10. Python int Function - Complete Guide - ZetCode

    Apr 11, 2025 · This comprehensive guide explores Python's int function, which converts values to integers. We'll cover numeric conversion, base handling, error cases, and practical examples …