vbscript-minus

OPERATOR: –


Implemented in version 1.0

The operator has two uses. It is used for subtracting numbers. It also is used to indicated the sign of a number (i.e., -4.5832).

Code:
<% total = 5.678 – 0.234 – 23.1 %>

Output:
-17.656

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *