Math.DivRem (Vb.net)
Math.DivRem() function calculates the quotient of two numbers.
Input parameter data type
Math.DivRem() function accepts integer and long as input parameter data type.
Example
Dim result As Integer = 0
Math.DivRem(10, 20, result)
MsgBox(result)
Return Value
The message box will display 10.
0 comments:
Post a Comment