int()

Description

Converts a value to the int data type.

Syntax

int(x)

(int)x (C-style type conversion)

Parameter Values

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

Return Values

  • Data type: int.

See Also

ARDUINO BUY RECOMMENDATION

Arduino UNO R3
Arduino Starter Kit
Disclosure: Some links in this section are Amazon affiliate links. If you make a purchase through these links, we may earn a commission at no extra cost to you.
Additionally, some links direct to products from our own brand, DIYables.

※ OUR MESSAGES