if ur by than you probely will get a 0 next too ur 1-1! but if you played every match than there will be a 3 or something...
How does this work?

The number next to the number of games won in a Swiss tournament (e.g. 2/2 1, 2, 3.5) represents the player's tournament performance rating (TPR). It is a measure of how well the player performed in the tournament relative to their rating. A TPR of 1 means the player performed exactly as expected based on their rating. A TPR above 1 means they performed better than expected and a TPR below 1 means they performed worse than expected. TPR is calculated based on the ratings of the players the individual played and the results of the games.

when playing swiss, next to how many games u won, for example 2/2 , there is a number like 1, 2, 3.5 etc. what does that mean?
It's the tiebreak, the primary one I believe
https://support.chess.com/article/314-how-do-ties-in-tournaments-work

@Martin_Stahl Is there anything unclear or confusing in my explanation that you would like me to clarify or elaborate on?
when playing swiss, next to how many games u won, for example 2/2 , there is a number like 1, 2, 3.5 etc. what does that mean?