# How do these mathematical symbols work? == and ++ vs = and +

**URL:** <https://forum.soliditylang.org/t/how-do-these-mathematical-symbols-work-and-vs-and/752>\
**Category:** Documentation\
**Created:** [January 11, 2022, 6:21am UTC](https://forum.soliditylang.org/t/how-do-these-mathematical-symbols-work-and-vs-and/752 "2022-01-11T06:21:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FloatingAtSea](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@FloatingAtSea](https://forum.soliditylang.org/u/FloatingAtSea)\
**Post date:** [January 11, 2022, 6:21am UTC](https://forum.soliditylang.org/t/how-do-these-mathematical-symbols-work-and-vs-and/752/1 "2022-01-11T06:21:08Z")

</div>

Hello everyone, I am currently learning solidity (beginner) and I do not understand = and ==, as well as + and ++, and the meaning of [] and ( ). I use them in my training but I do not completely know how to read them If I were to put it in words. I have tried to find answers to my questions but whenever I google == ++ and symbols of that kind it never returns me any documentation that answers to my questions. If anyone could point me to some documentation that could answer to my questions, it would be deeply appreciated.

---

<div class="post-metadata">

**Author:** ![thigur](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.soliditylang.org/thigur/32/663_2.png) [@thigur](https://forum.soliditylang.org/u/thigur)\
**Post date:** [August 13, 2022, 8:21am UTC](https://forum.soliditylang.org/t/how-do-these-mathematical-symbols-work-and-vs-and/752/2 "2022-08-13T08:21:47Z")

</div>

How about the solidity documentation.  
[https://docs.soliditylang.org/en/v0.8.16/types.html#value-types](https://docs.soliditylang.org/en/v0.8.16/types.html#value-types)

and the Cheatsheet is pretty handy too.  
[https://docs.soliditylang.org/en/v0.8.14/cheatsheet.html#](https://docs.soliditylang.org/en/v0.8.14/cheatsheet.html#)

Addition + Used to add two operands  
Increment ++ Increases the integer value by one  
Equal == Checks if two values are equal or not  
returns true if equal, and false otherwise  
Assignment = Simply assigns the value at the right side of  
operand to the left side.
