# Textfield numbers

**URL:** <https://forum.kirupa.com/t/textfield-numbers/152233>\
**Category:** Uncategorized\
**Created:** [June 22, 2005, 8:34am UTC](https://forum.kirupa.com/t/textfield-numbers/152233 "2005-06-22T08:34:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vintage](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vintage](https://forum.kirupa.com/u/vintage)\
**Post date:** [June 22, 2005, 8:34am UTC](https://forum.kirupa.com/t/textfield-numbers/152233/1 "2005-06-22T08:34:34Z")

</div>

I just started to try build a mini game (/me is noob:-)  
At the end I want to addup 2 textfields, I mean, I have 2 textfields, each have numbers in it, than I tried stuff like,  
totaal.text = textField1.text + textField2.text;  
I tried give the 2 texfields a variable name, but no matter what i try, the totaal.text dont addup the numbers, but place them after each other.  
What do I have to do, to fix this ?  
thx 🙂
