Dim hrs As Integer = allmins \ 60
Dim minutes As Integer = allmins Mod 60
Related operators include the following:
- The \ Operator (Visual Basic) returns the integer quotient of a division. For example, the expression 14 \ 4 evaluates to 3.
-
The / Operator
(Visual Basic) returns the full quotient, including the remainder, as
a floating-point number. For example, the expression 14 /
4 evaluates to 3.5.
http://msdn.microsoft.com/en-us/library/se0w9esz(v=vs.90).aspx
Komentarų nėra:
Rašyti komentarą