can't convert string variable to float


I need to get the entered text in the window into the value of the float variable. I didn’t find this among the functions


I understood everything how. I just didn’t understand, it is impossible to make it more universal, not only a comma, so that I would understand, but also if the user put a period.

go to min 14:26 it may help