This is a common thing in PAD, where it is tricky to work properly with regional settings. In some funky cases, I've even seen the variable pane actually showing a numeric value as 2.000000, but then after double-clicking the same value, it was actually 2,000000 in the preview.
I recommend using Replace text to replace the dot with a comma before using Convert text to number. If that doesn't work, do the opposite - replace a comma with a dot (I know this seems counter-intuitive, if your variable has a dot in there already, but try it.). If that also doesn't work, try doing both - first replace the dot, and then do the opposite. Do some trial and error experimentation until you find the correct sequence that works for you.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.