Wednesday, 3 February 2016

Julia: Chaining comparison operators


In Julia, you can chain comparison operators like below.
julia> a=10;b=20;c=25;

julia> a<b<c
true

julia> a>b<c
false

julia> a<c>b
true



Previous                                                 Next                                                 Home

No comments:

Post a Comment