It doesn't matter whether he comes or not.
- Неважно, придёт он или нет.
It is up to you whether to buy it or not.
- Тебе решать, покупать или нет.
Mary can't decide whether or not to buy the dress.
- Мэри не может решить, покупать ей платье или нет.
Whether or not he will come is doubtful.
- Придёт он или нет - неясно.