Login

Fancade Wiki

Updated Negate.md (markdown)

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