單項(xiàng)選擇題

要判別實(shí)型數(shù)據(jù)float a是否為零應(yīng)該使用()

A.a=0
B.a==0
C.a<1e-6
D.abs(a)

微信掃碼免費(fèi)搜題