# Arithmetic operations in Teal (PyTeal)

**URL:** <https://forum.algorand.co/t/arithmetic-operations-in-teal-pyteal/3269>\
**Category:** General\
**Tags:** teal, smart-contracts\
**Created:** [May 11, 2021, 2:41pm UTC](https://forum.algorand.co/t/arithmetic-operations-in-teal-pyteal/3269 "2021-05-11T14:41:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cotunho](https://avatars.discourse-cdn.com/v4/letter/c/ee7513/32.png) [@cotunho](https://forum.algorand.co/u/cotunho)\
**Post date:** [May 11, 2021, 2:41pm UTC](https://forum.algorand.co/t/arithmetic-operations-in-teal-pyteal/3269/1 "2021-05-11T14:41:53Z")

</div>

Hi everybody,  
I’m writing a Smart Contract in PyTeal, in which I do some arithmetic operations that could return decimal and negative values.  
So, what is the variables’ content have negative or decimal values?

---

<div class="post-metadata">

**Author:** ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)\
**Post date:** [May 11, 2021, 3:36pm UTC](https://forum.algorand.co/t/arithmetic-operations-in-teal-pyteal/3269/2 "2021-05-11T15:36:39Z")

</div>

TEAL only supports unsigned integers (i.e., non-negative integers).  
You need to design your code so that it does not require explicitly negative and decimal values.  
This depends on your exact use case.
