# Use of Math block

**URL:** <https://community.thunkable.com/t/use-of-math-block/149317>\
**Category:** Questions about Thunkable X\
**Created:** [July 20, 2019, 7:53am UTC](https://community.thunkable.com/t/use-of-math-block/149317 "2019-07-20T07:53:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 20, 2019, 8:57am UTC](https://community.thunkable.com/t/use-of-math-block/149317/2 "2019-07-20T08:57:52Z")

</div>

> [@Rounding a Number](http://community.thunkable.com/t/rounding-a-number/56174):
>
> The Thunkable ‘round’ function will round a given number to its closest whole number. However, there are times when you want to round a number to a certain number of decimals. A common example of this is with money. Taking the Euro as an example, people commonly want to round to the nearest cent instead of the nearest euro. Here is how to round a number to 2 decimal places: [image] Let’s use an example. A product costs €10/kg. It is currently on sale, and costs ⅔ of its normal price. 10 \*…

---

_[View the full topic](https://community.thunkable.com/t/use-of-math-block/149317)._
