我不知道为什么在Java或其他语言中浮点值之后放置f或F?例如,
float fVariable = 12.3f;
除了表明这是浮点值以外的任何其他功能?
java floating-point
为什么需要f在float文字中指定后缀?
f
floating-point ×2
java ×2