# Simple calculator

**URL:** <https://forum.kirupa.com/t/simple-calculator/156023>\
**Category:** flash\
**Created:** [July 21, 2005, 10:21pm UTC](https://forum.kirupa.com/t/simple-calculator/156023 "2005-07-21T22:21:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jef](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@jef](https://forum.kirupa.com/u/jef)\
**Post date:** [July 21, 2005, 10:21pm UTC](https://forum.kirupa.com/t/simple-calculator/156023/1 "2005-07-21T22:21:34Z")

</div>

Can anyone show how to write a simple calculator?

For example, a user is asked to key in 2 values in 2 text input fields and when they hit the on-screen button, the value is returned to a 3rd text field.
