In VB.NET, even if both operands are integer, the / operator will call a floating point value (if the result is not an integer).
So I tried with the operator \ which returns an integer value regardless of the operands.
So I thought, \ this is an integer division.
2.5\3 results at 0 .
Now I tried 1.5\2 . I expected this to be 0 but this led to 1 .
Now, is this a mistake or the correct result?
What is the operator \ really?
If this is a mistake, it exists right through VB6.
source share