Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit 940b227

Browse files
authored
fix(book/operators): modulo example (#180)
1 parent aa1700e commit 940b227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/book/operators.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Can only be applied to values of type [`Int{:tact}`][int]:
127127
```tact
128128
let two: Int = 2;
129129
two % 2; // 0
130-
two % 1; // 1
130+
1 % two; // 1
131131
132132
1 % 5; // 1
133133
-1 % 5; // 4

0 commit comments

Comments
 (0)