vbscript – Sqr
**FUNCTION:** `Sqr(number)`
**Description**
Racine carrée.
**Syntax**
`Sqr(number)`
**Paramètres**
– *(aucun)*
**Exemples**
« `vb
WScript.Echo Sqr(9)
« `
**Output :** `3`
**FUNCTION:** `Sqr(number)`
**Description**
Racine carrée.
**Syntax**
`Sqr(number)`
**Paramètres**
– *(aucun)*
**Exemples**
« `vb
WScript.Echo Sqr(9)
« `
**Output :** `3`
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
STATEMENT: Call Implemented in version 1.0 Call The Call statement can be used for calling a function or subroutine. Note that the use of Call is optional. In other words, you can call a function or subroutine by simply stating the function’s or subroutine’s name. If you use Call and if there are one or…
VBScript – Conversion
VBScript – Chaînes
FUNCTION: CByte( ) Implemented in version 1.0 You can determine the expression subtype by using the function VarType( ). CByte(Number) The CByte function converts any number between 0 and 255 to the variant of subtypeByte. Code: <% anynumber=(9.876) %> <% =CByte(anynumber) %> Output: 10 Code: <% anynumber=(255) %> <% =CByte(anynumber) %> Output: 255
VBScript – Statements