i understand the command
interest = double.parse(console.readline());
reads in the users input and converts it into double type but how do i get it to move the decimal to the right 2 places? because when i do
start = (start + (interest * start));
to work out the new amount of the start with the added interest it isnt correct because say 5% is going in as 5 and not 0.05?
thanks

New Topic/Question
Reply



MultiQuote



|