How can i check if the result of division of two numbers is fraction in visual basic
here is what i need to do :
Dim x As Integer = 12
Dim y As Integer = 5
If TypeOf x/y Is fraction Then
( do something )
End If
Thanks in advance
Could you not do the modulus of two numbers and then if that is non zero, it is a fraction?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With