Please note, this blog entry is from a previous course. You might want to check out the current one.
Your calculator already works with floating point numbers (e.g. if you touch 3 ↲ 4 ÷, it will properly show 0.75), however, there is no way for the user to enter a floating point number directly. Fix this by allowing legal floating point numbers to be entered (e.g. “192.168.0.1” is not a legal floating point number!). You will have to add a new “.” button to your Calculator. Don’t worry too much about precision or significant digits in this assignment.
In Storyboard change the currently blank label of the bottom left button to “.”:
Continue reading “cs193p – Project #1 Assignment #1 Task #2”