About 414 letters

About 2 minutes

#int

Description: Convert type to int.

def int(x=0.0):
    '''
    Convert type to int

    :param x: A variable
    :return: The value converted to int
    '''

Example:

print(int(3.1415926))
print(int('100'))

>>> Establishing WebAssembly Runtime.

>>> Standby.

Powered by Shift.

Updated: 6/9/2025

Author: PlanC

Created: 6/9/2025