Yes, you’re correct that we use comma instead of period as the decimal point 
As a programmer, I’m now used to seeing things like “123.” in other programming languages, but I’ve never felt the need to write floating point numbers that way myself, even if I could. The syntax simply looks (a little) strange and inconsistent to me.