区别等于和正好等于短期比较,运营商(Difference between equal to and

2019-07-29 03:50发布

有什么平等之间(==)和正好等于差(=:=) Erlang项比较运算符 ?

Answer 1:

前者( == )比较值; 后者( =:= )比较值和类型

1> 1 =:= 1.0.
false
2> 1 == 1.0.
true


文章来源: Difference between equal to and exactly equal to term comparison operators
标签: erlang