vbscript-less-than or equal
OPERATOR: <=
Implemented in version 1.0
<=
The <= operator determines if the first expression is less-than-or-equal the second expression.
Code:
<% 123 <= 456 %>
<% « a » <= « A » %>
Output:
True
False
OPERATOR: <=
Implemented in version 1.0
<=
The <= operator determines if the first expression is less-than-or-equal the second expression.
Code:
<% 123 <= 456 %>
<% « a » <= « A » %>
Output:
True
False
VBScript – Date/Heure
WSH – WshShell
VBScript – Math
FUNCTION: CCur( ) Implemented in version 1.0 You can determine the expression subtype by using the function VarType( ). CCur(Number) The CCur function converts any number or numeric string to the variant of subtypeCurrency. Converts to currency values ranging from -922,337,203,685,477.5808 to 922,337,203,685,477.5807 Code: <% anynumber=(12345) %> <% =CCur(any_number) %> Output: 12345 Code: <% any_numeric_string=(« 98765 ») %> <% =CCur(any_numeric_string)…
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
VBScript – COM/Automation