Since Gambling is by luck, there is not much of a difference if you know maths or not.
Maths is involved in gambling up to some extent because it plays its role in distribution of cards and in the middle of the game in different turns. However luck is the major thing which is involved in gambling besides which contributors are also present in which maths, experience and smart work also contributes to increase the chances of your winning.
I don't think maths will help us in winning the gambling if that is possible then most of the mathematics experts and professors will become millionaires by continuously winning in the gambling so nothing can make win us in gambling other than luck.