How Do I Get Accurate Values from Text Entries?

Ive created a few text boxes, from which Id like to get inputs. However when I set things up the way in the pic below, I get inaccurate inputs, after checking with print string I`ve found that no matter what the number I typed in it just became 0, ints and floats alike, and the entry where I enter a string returns just the name of the button itself instead of whatever I typed in. How do I get values from text boxes? I guess I must used the wrong nodes to get inputs from these boxes.
259482-

You need to use the “Text Widget” reference, not the “Button Widget” reference. Then you use the “Get Text” node on it. DisplayName is set to be the class name in string format.

Thanks.

That works.