I noticed this code in open zepplins contract:
uint256 public constant INITIAL_SUPPLY = 10000 * (10 ** uint256(decimals));
I've never seen the double ** before. What does it mean?
solidity
I noticed this code in open zepplins contract:
uint256 public constant INITIAL_SUPPLY = 10000 * (10 ** uint256(decimals));
I've never seen the double ** before. What does it mean?
Best Answer
from the solidity documentation :
so :
a**b
isa
to the power ofb
(i.e:a*a*a*...*a
b times)