# Variable Types: integers vs strings?

**URL:** https://forum.kirupa.com/t/variable-types-integers-vs-strings/166754
**Category:** flash
**Created:** [October 22, 2005, 3:55pm UTC](https://forum.kirupa.com/t/variable-types-integers-vs-strings/166754 "2005-10-22T15:55:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![JonathanCarter](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@JonathanCarter](https://forum.kirupa.com/u/JonathanCarter)
#### Post date: [October 22, 2005, 3:55pm UTC](https://forum.kirupa.com/t/variable-types-integers-vs-strings/166754/1 "2005-10-22T15:55:23Z")

</div>

K so I got a number input from a input field and I guess that’s in a string form, because when I add a number to that variable, I got the wrong answer.

input = 6  
input + 1 = 61

Help me convert the input into an integer, so that I can use it in equations!
