vbscript-greater-than
OPERATOR: >
Implemented in version 1.0
>
The > operator determines if the first expression is greater-than the second expression.
Code:
<% 123 > 456 %>
<% « a » > « A » %>
Output:
False
True
OPERATOR: >
Implemented in version 1.0
>
The > operator determines if the first expression is greater-than the second expression.
Code:
<% 123 > 456 %>
<% « a » > « A » %>
Output:
False
True
VBScript – I/O
VBScript – Date/Heure
VBScript – Math
VBScript – Conversion
FUNCTION: Abs() Implemented in version 1.0 Abs(Number) The Abs function returns the absolute value for a number. Negative numbers become positive. Positive numbers remain positive. Code: <% =Abs(-127.89) %> Output: 127.89 Code: <% =Abs(127.89) %> Output: 127.89
OPERATOR: \ Implemented in version 1.0 \ The \ operator divides two numbers and returns an integer (fixed-point). Each number can be either floating-point or fixed-point. This operator works by rounding the values of the supplied operands to integers (if necessary) before performing the calculation and only returns an integer with no decimal representation (truncated)….