#int Please check Python built-in functions for more related APIs. 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')) Run Code>>> Establishing WebAssembly Runtime. >>> Standby. Powered by Shift.