Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27514

Need help with Subtraction and variables

$
0
0
Hello,

I have a few If-Then statements and the final one that I need is to basically "subtract 1 from every 5"

In my case, for every 5 miles traveled I need to subtract 1 year of life - its a wackly problem that I have.

How can I code this? Googling this results in a bunch of time subtraction links - that's not really what i need though.

Thanks!

Viewing all articles
Browse latest Browse all 27514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>