H Herfried K. Wagner [MVP] Aug 8, 2007 #2 clara said: Why 4 / 0 is OK in VB.net Click to expand... Read the documentation topic "/ operator [Visual Basic]". It contains a section targetting division by zero.
clara said: Why 4 / 0 is OK in VB.net Click to expand... Read the documentation topic "/ operator [Visual Basic]". It contains a section targetting division by zero.
G Guest Aug 8, 2007 #3 clara said: Hi all, Why 4 / 0 is OK in VB.net clara thank you so much for your help Click to expand... The / operator always converts the operands to Double. Dividing by zero is not illegal for Doubles, so the result of 4 / 0 is Double.PositiveInfinity.
clara said: Hi all, Why 4 / 0 is OK in VB.net clara thank you so much for your help Click to expand... The / operator always converts the operands to Double. Dividing by zero is not illegal for Doubles, so the result of 4 / 0 is Double.PositiveInfinity.