Saturday, December 26, 2009

How do I round off numbers in visual basic?

How would I make it so that I could have the equation mnthlypayment = CDbl(principle * (rate * (1 + rate) ^ periods)) / (((1 + rate) ^ periods) - 1) rounded off when i run the program?How do I round off numbers in visual basic?
To how many decimal points? Floored or ceilinged? Be more specific.

No comments:

Post a Comment