VB6 throws an exception for division by 0. B4A returns either 2147483647 or Infinity, depending whether the result is set to an integer or a string.