Name

Mod Operator

Synopsis

result = number1 Mod number2
number1, number2 required; any

A numeric expression

Return Value

Returns the modulus

Description

Returns the modulus, that is, the remainder when number1 is divided by number2. This return value is a non-negative integral data type.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.