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
OPERATOR: & Implemented in version 1.0 & The & operator is the preferred operator for concatenating strings. However, the + operator may also be used for concatenation. Code: <% cheese= » is made of blue cheese. » %> <% sentence= »The moon » & cheese & » Mice like blue cheese. » %> Output: The moon is made of blue…
WSH/FSO – Fichiers
WSH – WshShell
OPERATOR: & Implemented in version 1.0 & The & operator is the preferred operator for concatenating strings. However, the + operator may also be used for concatenation. Code: <% cheese= » is made of blue cheese. » %> <% sentence= »The moon » & cheese & » Mice like blue cheese. » %> Output: The moon is made of blue…
VBScript – Formatage
OPERATOR: >= Implemented in version 1.0 >= The >= operator determines if the first expression is greater-than-or-equal the second expression. Code: <% 123 >= 456 %> <% « a » >= « A » %> Output: False True