I am creating a program that will calculate the monthly payment of a loan. The rate and the years are to be displayed on a hscroll bar. I have two issues that I cannot seem to resolve.
1st - I need to display the range from 5 to 15%, in increments of .5. My code so far is...
'allow the event procedure
MonthlyRateDouble = RateHScrollBar.Value
'format and display rate and years
RateTextBox.Text = MonthlyRateDouble.ToString("p")
My result is 1,000.00%, instead of 10.
2nd - When I run the program, the scroll bar does not display the values, but when I begin to scroll, the figures to display.
I am a beginner doing an online course, which unfortunately does not offer any assistance. I am basically on my own.