Lesson

Crypto Zombies ,Ch4 Math Operations, Learn Solidity 2018

Lesson Summary

In this Crypto Zombies Solidity lesson we do a little refresh on math operators. I only say refresh because this class required that you were familiar with a previous programming language and most programming languages use the same symbols for math operations. We are able to use addition, subtraction, multiplication, division and modulo just like most other languages. We can also represent exponential expressions such as 5 to the power of 5 like this 5**5. This would result in 25. In this lesson we create another uint. The uint we create is dnaModulus and it is assigned 10 to the power of dnaDigits.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: