Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mosamorphing authored Feb 19, 2024
1 parent 7585cdd commit 3ade71e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Languages/en/02_ValueTypes_en/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ Code:
bool public _bool5 = _bool != _bool1; // inequality
```

From the above source codethe value of the variable `_bool` is `true`; `_bool1` is not`_bool`, which yields `false`; `_bool && _bool1` is `false``_bool || _bool1` is `true``_bool == _bool1` is `false`;and `_bool != _bool1` is `true`.
From the above source code: the value of the variable `_bool` is `true`; `_bool1` is not`_bool`, which yields `false`; `_bool && _bool1` is `false``_bool || _bool1` is `true``_bool == _bool1` is `false`;and `_bool != _bool1` is `true`.

**Important note:** The `&&` and `||` operator follows a short-circuit evaluation rule. This means that for an expression such as `f(x) || g(y)`, if `f(x)` is `true`, `g(y)` will not be evaluated.

### 2. Integers

Integers types in Solidity includes signed integer `int` and unsigned integer `uint`. It can store up to a 256-bit integers or data units.
Integers types in Solidity include signed integer `int` and unsigned integer `uint`. It can store up to a 256-bit integers or data units.

```solidity
// Integer
Expand Down

0 comments on commit 3ade71e

Please sign in to comment.