Answer to Question #41423 in Visual Basic for manuel

Question #41423
would like to know how to get a whole number without it being round off if I happen to get a decimal on my answer.
this is part of my code ,I tried to convert the answer to int32 it round off the answer, I tried to truncate but truncate seem to take in decimal numbers not assigned variables just assuming since I got an error when I tried it otherwise.

two_hundred = change / 200
Label1.Text = two_hundred
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS