– (Subtract/Negative)

– (Subtract/Negative)

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

– (Subtract/Negative)

– (Subtract/Negative)

Indicates a negative value (unary -) or subtracts one value from another.

Syntax

[expression1] – expression2

The minus sign (-) subtracts the expression on the right from the expression on the left.

where

expression1a number or expression that evaluates to a number
expression2a number or expression that evaluates to a number

Comments

Arithmetic operators indicate the sign of a number or perform arithmetic operations (addition, subtraction, multiplication, division, exponentiation).

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese