How Can We Help?
< 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).

Deixe um comentário

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

pt_BRPortuguese