[Solved] Issues with tip calculator app and displaying data


In the Settings View it should be sufficient to change, since you have already given it a correct name of a rate, you should also make it a rate

var tipRate = [5, 10, 15, 20, 25, 30]

to

var tipRate = [0.05, 0.10, 0.15, 0.20, 0.25, 0.30]

You can also get rid of the next line which does the cast to Double, since it is not needed.

0

solved Issues with tip calculator app and displaying data