Ya que no encontré un ejemplo claro del uso de Mod, dejo un pequeño ejemplo de su uso.
Public Sub UsoDeMod(Numero As Int, Modulo As Int) As Boolean
Dim Residuo As Int
Residuo = (Numero Mod Modulo)
If Residuo = 0 Then 'Si Valor es multiplo (Modulo)
Return True...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.