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 – Statements
VBScript – Statements
VBScript – Math
WSH/FSO – Fichiers
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 – Tests