# I Couldn't Figure Out How to Create a Function

**URL:** <https://community.thunkable.com/t/i-couldnt-figure-out-how-to-create-a-function/3236056>\
**Category:** Questions about Thunkable X\
**Created:** [September 29, 2024, 11:48am UTC](https://community.thunkable.com/t/i-couldnt-figure-out-how-to-create-a-function/3236056 "2024-09-29T11:48:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbozkurt](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rbozkurt/32/185232_2.png) [@rbozkurt](https://community.thunkable.com/u/rbozkurt)\
**Post date:** [September 29, 2024, 11:48am UTC](https://community.thunkable.com/t/i-couldnt-figure-out-how-to-create-a-function/3236056/1 "2024-09-29T11:48:54Z")

</div>

For example, there are 3 text entries.

I had the tx3 = tx1 \*tx2 procedure done.

What I want to do is display all text input data with 2 digits after the comma.

For example;  
When you type 1000, it should appear as 1,000.00

I would appreciate it if you could add an example image of the solution.  
Have a nice day.

---

<div class="post-metadata">

**Author:** ![joemoukarzel88skm4pi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/joemoukarzel88skm4pi/32/185210_2.png) [@joemoukarzel88skm4pi](https://community.thunkable.com/u/joemoukarzel88skm4pi)\
**Post date:** [September 29, 2024, 12:53pm UTC](https://community.thunkable.com/t/i-couldnt-figure-out-how-to-create-a-function/3236056/2 "2024-09-29T12:53:20Z")

</div>

To add the decimals, you can do it this way:

 ![xx](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/1/01988c1ddc4ed04f53ebcf0293e4cd3610e9af0b.png)

To add the comma, you can follow this post: [Formatting Numbers with Commas](https://community.thunkable.com/t/formatting-numbers-with-commas/68913)

---

<div class="post-metadata">

**Author:** ![rbozkurt](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rbozkurt/32/185232_2.png) [@rbozkurt](https://community.thunkable.com/u/rbozkurt)\
**Post date:** [September 29, 2024, 1:43pm UTC](https://community.thunkable.com/t/i-couldnt-figure-out-how-to-create-a-function/3236056/3 "2024-09-29T13:43:47Z")

</div>

Thank you my friend.

I’ve been trying to solve it for hours, it was so easy.

 ![1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/2/4299b112567eab04203a44e64c4d85a2bb5a789a.png)  
 ![2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/b/8b2b0b8d958fe2146ad2eff4e5a2c7bf1e1beb01.png)

---

<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:** [December 28, 2024, 1:44pm UTC](https://community.thunkable.com/t/i-couldnt-figure-out-how-to-create-a-function/3236056/4 "2024-12-28T13:44:00Z")

</div>

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