# 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

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

Expert's answer

#### Not answered

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment