VBScript » Operators » -

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).

Examples

Code:
<% total = 5.678 - 0.234 - 23.1 %>
Output:
-17.656
Language(s): VBScript

See Also: