Skip to content
Cheddar Documentation
⌘
Ctrl
k
For the complete documentation index, see
llms.txt
. This page is also available as
Markdown
.
Copy
On this page
Mathematics
Negation
Syntax
Copy
-
x
Explanation
Unary
-
, performs negation on the operand.
Examples
Copy
-2
// -2
-
(
-2
)
// 2
Previous
Remainder
Next
Sign
Last updated
6 years ago
Syntax
Explanation
Examples