Login

Fancade Wiki

Updated Negate.md (markdown)

... ...
@@ -1,4 +1,16 @@
1 1
Negates a number.
2
I.e. (4 into -4), (-7 to 7)
3 2
4
[[/uploads/negate.png]]
... ...
\ No newline at end of file
0
[[/uploads/negate.png]]
1
2
Inputs:
3
4
- Num: The number to negate.
5
6
Outputs:
7
8
- The negated number.
9
10
## Examples
11
- The top one turns `5` into `-5` while the last one turns `-8` into `8`. Absolute numbers will become negative, and vice versa.
12
-
13
[[uploads/negate_ex01.jpg]]
... ...
\ No newline at end of file
Fancade Wiki