进制表示
二进制0b
八进制0
十六进制0x
int w=10;
int w= 010;
int w=0x10;
浮点数:
float;double:不准确有限,离散,摄入误差,大约,接近但不等于
最好完全避免使用浮点数进行比较
银行等精
2021-10-29