![]() ![]() In this article, we will look into this operator in detail. In the normal excel, it is a function, but in VBA, it is not a function. (Number 2 can divide only 20, not 21, so the remainder is 1). For example: If you divide 21 by 2 division result is 10.50 by MOD is the remainder of the division, i.e., 1. It is exactly the same as the division, but the result is slightly different where division takes the divided amount, but MOD takes the remainder of the division. ![]() MOD is nothing but MODULO is a mathematical operation. ![]() In VBA MOD is same as to the application in mathematics, when a number is divided by its divisor and we get a reminder from that division, this function is used to give us that remainder from the division, it is not a function in VBA rather than it is an operator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |