Dealing with numbers

Hello,

I’m getting multiple values from the server and i need to do some mathematical operations with them (adding / multiplication). The server sends me the values like this:
123,456.789
What i learned from digging through the internet that i need to parse it either to int or float, but for some numbers it does work, some not !
e.g.: parseFloat(3.63) gives 3.63
but parseFloat(104,857.60") gives 104 only !

Any hint, clue, link would be appreciated !

Thanks in advance

nvm, problem fixed.
the thousand separator was the issue.