realace112
Programmer
I'm trying to get the fraction part of a number. For example, if x = 115.5, I need 0.5 . What I tried using was a Mod operation to get the remainder however it converts and rounds the answer to an integer. Instead of getting 0.5, I get 1. Is there a way I can use Mod and get a decimal value instead of an integer? Please advise. I am a beginner to VB so please bare with me. Thank you.