我想找...

搜尋

分享

目錄

long long

[Data Types]

描述

Long-long variables are extended size variables for number storage, and store 64 bits (8 bytes), from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.

If doing math with integers, at least one of the numbers must be followed by an LL, forcing it to be a long long.

範例程式碼

long long speedOfRobot = 186000000LL;

語法

long long var = val;

var – the long long variable name
val – the value you assign to that variable

參考


語法參考主頁面

86Duino 參考的文本是根據 知識共享署名-相同方式分享 3.0 許可證,部分文本是從 Arduino 參考 修改的。 參考中的代碼示例已發佈到公共領域。

返回頂端