vbscript-divide
OPERATOR: /
Implemented in version 1.0
/
The / operator divides two numbers and returns a floating-point number.
Code:
<% result = 25.0 / 4.975 %>
Output:
5.0251256281407
Code:
<% result = 25 / 5 %>
Output:
5
OPERATOR: /
Implemented in version 1.0
/
The / operator divides two numbers and returns a floating-point number.
Code:
<% result = 25.0 / 4.975 %>
Output:
5.0251256281407
Code:
<% result = 25 / 5 %>
Output:
5
VBScript – Math
OPERATOR: And Implemented in version 1.0 And The And operator is used to perform a logical conjunction on two expressions, where the expressions are Null, or are of Boolean subtype and have a value of True orFalse. The And operator can also be used a « bitwise operator » to make a bit-by-bit comparison of two integers….
VBScript – Statements
WSH/FSO – Collections
WSH/FSO – Fichiers
OPERATOR: ^ Implemented in version 1.0 ^ The ^ operator, which is sometimes called « hat », is used to raise a number to a power. Code: <% power = 2^2 %> Output: 4 Code: <% power = 4.819^1.753 %> Output: 15.7479305850686