Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Mod - operator of language VBScript

Description:
Divide two numbers and return the remainder ("modulo" operator).
Syntax:
result = number1 Mod number2
Note:
The modulus, or remainder, operator divides number1 by number2 (rounding floating-point numbers to integers) and returns only the remainder as result.
Example:
Dim x
x = 12 Mod 10 ' x is 2 (12=1*10+2)
x = 19 Mod 6.7 ' x is 5 (19=2*7+5)
PROMOTIC 8.3.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice