int()

[Conversion]

説明

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

  • [Language] int

Language Reference Home

86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

コメントする

上部へスクロール