# Basic math with variables

**URL:** <https://forum.kirupa.com/t/basic-math-with-variables/254360>\
**Category:** Uncategorized\
**Created:** [March 11, 2008, 10:35am UTC](https://forum.kirupa.com/t/basic-math-with-variables/254360 "2008-03-11T10:35:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m00nz00mer](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@m00nz00mer](https://forum.kirupa.com/u/m00nz00mer)\
**Post date:** [March 11, 2008, 10:35am UTC](https://forum.kirupa.com/t/basic-math-with-variables/254360/1 "2008-03-11T10:35:34Z")

</div>

say i have a variable that is ‘value2’ = 2 and i have another which is ‘size’ = 6, then i have a dynamic text box called ‘total’ how can i multiply value2(2) by size(6) and display it in ‘total’?

cheers.
