Negation: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Created page with "'Negation is the process of changing the sign of a positive number to negative. Usage: number% = -number% Negation can be performed by adding a negative (- minus) sign to a number or by multiplying or dividing a number by any negative value. If a negative value is negated, the value of the number becomes positive.") |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Negation is the process of changing the sign of a positive number to negative or vice versa. | |||
{{PageSyntax}} | |||
: number% = -number% | |||
{{PageDescription}} | |||
Negation can be performed by adding a negative (- minus) sign to a number or by multiplying or dividing a number by any negative value. | Negation can be performed by adding a negative (- minus) sign to a number or by multiplying or dividing a number by any negative value. | ||
If a negative value is negated, the value of the number becomes positive. | If a negative value is negated, the value of the number becomes positive. | ||
{{PageSeeAlso}} | |||
* [[*|multiplication]], [[/|division]] | |||
* [[\|Integer division]] | |||
{{PageNavigation}} |
Latest revision as of 00:51, 29 January 2023
Negation is the process of changing the sign of a positive number to negative or vice versa.
Syntax
- number% = -number%
Description
Negation can be performed by adding a negative (- minus) sign to a number or by multiplying or dividing a number by any negative value. If a negative value is negated, the value of the number becomes positive.
See also