float()

[Conversion]

説明

Converts a value to the float data type.

Syntax

float(x)

Parameters

x: a value of any type

Returns

float

Notes

See the reference for float for details about the precision and limitations of floating-point numbers on 86Duino.

See also


Language Reference Home

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

コメントする

上部へスクロール