# Help with square root

**URL:** <https://community.thunkable.com/t/help-with-square-root/1076109>\
**Category:** Questions about Thunkable X\
**Created:** [January 30, 2021, 6:22pm UTC](https://community.thunkable.com/t/help-with-square-root/1076109 "2021-01-30T18:22:00Z")\
**Posts on this page:** 1\
**Showing post:** 10

<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 4, 2022, 7:52am UTC](https://community.thunkable.com/t/help-with-square-root/1076109/10 "2022-02-04T07:52:41Z")

</div>

It’s not working correctly in all cases.

For example, it shows 343 as **not** being a perfect cube. There’s a rounding error… if you display the value of `app variable perfect cube`, it’s 6.999999999 which is then considered **not** whole.

These topics discuss the problem:

> [@Round with x decimals behaviour](https://community.thunkable.com/t/round-with-x-decimals-behaviour/582526/7):
>
> Thanks!!

> [@0.1\*0.1=0.010000000000002 (error)](https://community.thunkable.com/t/0-1-0-1-0-010000000000002-error/1243946/11):
>
> Still don’t really get this: In JavaScript, all numbers are floating-point numbers, so when we write expressions like 0.1 + 0.2 , it’ll return some numbers that we don’t expect like 0.30000000000000004 . 0.1 and 0.2 are approximated to their true values. The approximated value of 0.2 is larger than its rational equivalent, but the closest approximating of 0.3 is smaller than the rational number. Then we end up with the sum of 0.1 and 0.2 is slightly larger than the rational number 0.3 becaus…

---

_[View the full topic](https://community.thunkable.com/t/help-with-square-root/1076109)._
