Arithmetic operations in Teal (PyTeal)

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?

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.

1 Like