int()

Converts a value to the int data type.

 

Syntax

int(x)

 

Parameters

x: a value of any type

 

Returns

int

 

See also

 

Reference Home