The exponencial/power with decimals in Solidity

Viewed 64

I want to make this exponencial operation in solidity:

3^0.1 = 1.11

I know that in Solidity is not posible to use decimal values so how can I workaround this operation?

I tried to make this possible with WEI but I can't because of the result is too big.

Any ideas?

0 Answers
Related