# Help : string to integer?

**URL:** https://forum.highend3d.com/t/help-string-to-integer/6167
**Category:** Maya
**Tags:** mel
**Created:** [May 18, 2002, 12:19pm UTC](https://forum.highend3d.com/t/help-string-to-integer/6167 "2002-05-18T12:19:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![firas-ershead](https://forum.highend3d.com/user_avatar/forum.highend3d.com/firas-ershead/32/217_2.png) [@firas-ershead](https://forum.highend3d.com/u/firas-ershead)
#### Post date: [May 18, 2002, 12:19pm UTC](https://forum.highend3d.com/t/help-string-to-integer/6167/1 "2002-05-18T12:19:09Z")

</div>

how to convert string number : "234" to 234 integer value ??????????????????????????????????????????????????????????????

---

<div class="post-metadata">

### Author: ![firas-ershead](https://forum.highend3d.com/user_avatar/forum.highend3d.com/firas-ershead/32/217_2.png) [@firas-ershead](https://forum.highend3d.com/u/firas-ershead)
#### Post date: [May 18, 2002, 1:39pm UTC](https://forum.highend3d.com/t/help-string-to-integer/6167/2 "2002-05-18T13:39:16Z")

</div>

sorry, its very simple

string $st = "111";  
int $in = $st;  
print ($in+1);

result : 112
