String to number with decimals (but without separator)

This is not the original subject.

You originally asked how to convert a number with decimal points into a number without decimal points and for that I gave you a working solution...


What are you actually trying to achieve?

You are right, the original issue has been solved. Thanks, I will open a new thread for the new issue.