Unity Discussions
can't convert string variable to float
Unity Engine
Question
,
Visual-Scripting
,
com_unity_visualscripting
vinurd
August 23, 2020, 6:08am
1
6234399--686271--2020-08-23_14-06-22.png
1776×930 183 KB
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
vinurd
August 23, 2020, 5:34pm
2
6235533--686496--2020-08-24_01-32-20.png
843×409 31.5 KB
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.
Siro13
September 1, 2020, 10:08pm
3
go to min 14:26 it may help
Related topics
Topic
Replies
Views
Activity
Converting string to float, or int (Preferably float)
Unity Engine
Scripting
3
3863
August 20, 2009
Can't Convert String to float.
Unity Engine
Scripting
6
6513
March 13, 2021
how to convert number in a textField into float
Unity Engine
Scripting
1
1256
June 6, 2012
Convert the Text of an InputField into a float
Unity Engine
1
798
May 27, 2019
Cannot convert 'String' to 'float'
Questions & Answers
legacy-topics
1
13215
November 16, 2016