📦Free shipping over $10 in most countries and regions!



int()

[Conversion]

Description

Converts a value to the int data type.

Syntax

int(x)
(int)x (C-style type conversion)

Parameters

x: a value. Allowed data types: any type.

Returns

Data type: int.