Hi
I would apppreciate it if someone could show me the code to find the differrence between numbers adn then convert tht answer to a positive integer. Thanks
Hi,
To convert a negative to a positive you could use abs()statement(absolute value). To convert to Integer use to
Cint() statement
e.g.
Text1.Text = CInt(Abs(MyNum1 - MyNum2))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.