# Simple Multiplication and I'm lost

**URL:** <https://community.thunkable.com/t/simple-multiplication-and-im-lost/3578436>\
**Category:** Questions about Thunkable X\
**Created:** [February 16, 2025, 2:01pm UTC](https://community.thunkable.com/t/simple-multiplication-and-im-lost/3578436 "2025-02-16T14:01:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmm](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@dmm](https://community.thunkable.com/u/dmm)\
**Post date:** [February 16, 2025, 2:01pm UTC](https://community.thunkable.com/t/simple-multiplication-and-im-lost/3578436/1 "2025-02-16T14:01:20Z")

</div>

I just want to do what should be a very simple multiplication.  
When a number in “A” is entered, multiply it by .001 and return it in “B”. In excel it would look like in cell B1: “=A1\*.001”. Should be so easy and I’m not sure what I’m missing. Thanks for any assistance.

 ![Screenshot 2025-02-16 081640](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/a/2a2a613f59b027661ea2f06bb6019b5460d6a932.png)  
 ![Screenshot 2025-02-16 081702](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/6/f65d7510c4afab6700bb833ea8f6c2fd1185d90e.png)  
 ![Screenshot 2025-02-16 085920](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/1/51495c349b947d54950e0852f21adef140bcb579.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 16, 2025, 4:27pm UTC](https://community.thunkable.com/t/simple-multiplication-and-im-lost/3578436/2 "2025-02-16T16:27:42Z")

</div>

You’re referencing two variables, A and B, but you’re not getting the value from the text input component. You’re also running two different sets of code when A changes. That’s going to create unpredictable results.

You need to do this:

```auto
When A Changes
   Set app variable A to Text Input's Text
   Set app variable B to A x 0.001
   Set B's Text to B

```

Also, a simplified but less useful version would be:

```auto
When A Changes
   Set B's Text to Text Input's Text x 0.001

```

---

<div class="post-metadata">

**Author:** ![dmm](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@dmm](https://community.thunkable.com/u/dmm)\
**Post date:** [February 16, 2025, 5:10pm UTC](https://community.thunkable.com/t/simple-multiplication-and-im-lost/3578436/3 "2025-02-16T17:10:41Z")

</div>

Thank you so much!!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [May 17, 2025, 5:10pm UTC](https://community.thunkable.com/t/simple-multiplication-and-im-lost/3578436/4 "2025-05-17T17:10:50Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
