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