About 294,000 results
Open links in new tab
  1. 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.

  2. Python int () Function - W3Schools

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

  3. INT function - Microsoft Support

    Returns the decimal part of a positive real number in cell A2. Rounds a number down to the nearest integer. Values must be a real number. Note that the INT function rounds down so …

  4. How to explain the int() function to a beginner - Stack Overflow

    Oct 25, 2017 · From a technical POV, int() is just an overloaded function, and reacts differently depending on the input-argument type. In case of a float, it floors the result.

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

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

  6. Python int () Function - Online Tutorials Library

    The Python int () function is used to convert a given value into an integer. It can convert various types of data, such as numeric strings or floating-point numbers, into integers.

  7. Python Function `int ()`: A Comprehensive Guide - CodeRivers

    Apr 5, 2025 · In Python, the `int ()` function is a fundamental built - in function that plays a crucial role in data type conversion and numerical operations. It allows developers to create integer …

  8. Python int Function - Complete Guide - ZetCode

    Apr 11, 2025 · We'll cover numeric conversion, base handling, error cases, and practical examples of integer conversion. The int function returns an integer object constructed from a …

  9. Python int () Function

    The int() function is used to convert a given value into its integer form. The value should be representable as an integer for the conversion to work.

  10. 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.