This page is also available in 3 other languages

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.

See also