ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






OPERATOR:   -

 -

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