I have studied some basic probability theory, and I have seen the following definition of conditional probability: $$P(B|A) = \frac{P(AB)}{P(A)}$$ However, the definition states that $P(A) \neq 0$.
I was wondering if there is a more general definition to deal with situations like this. For example, when our experiment involves choosing a real number at random from the interval $[0,10]$, and $A$ represents the event that the chosen number is an integer, while $B$ represents the event that the chosen number is 5. Since in this experiment $P(A) = 0$, we cannot use the definition of conditional probability. Nevertheless, it is intuitively very plausible that $P(B|A) = 1/11.$