Long - jimaobian/DFRobotWikiCn GitHub Wiki

é•æę•“åž‹ ꏏčæ°

é•æę•“ę•°åž‹å˜é‡ę˜Æę‰©å±•ēš„ę•°å­—å­˜å‚Ø变量ļ¼Œå®ƒåÆ仄存å‚Ø32位ļ¼ˆ4å­—čŠ‚ļ¼‰å¤§å°ēš„变量ļ¼Œä»Ž-2,147,483,648到2,147,483,647怂 例子

long speedOfLight = 186000L; //å‚č§ę•“ę•°åøø量ā€˜Lā€™ēš„čÆ“ę˜Ž

čÆ­ę³•

long var = val;
  • var - é•æę•“åž‹å˜é‡å
  • var - 赋ē»™å˜é‡ēš„值