Skip to content

Conversation

@OsamaSaberB
Copy link

Hello there Angela, I came here from your iOS development course, thanks for your great work.

I noticed that the app could crash in multiple cases and have a few bugs so here are the things I changed.

  • display label now shows Int characters properly instead of doubles with trailing zeros (i.e 1 instead of 1.0)
  • adjusted the AC button to do the same and display “0” int instead of “0.0” when clearing screen
  • adjusted the decimal/period button to start with 0. instead of displaying “.” as the first character when no number was entered
  • prevented the addition of multiple decimals in a number which leads to crashing the app

Osama Saber and others added 3 commits June 16, 2022 05:20
- display label now shows Int characters properly instead of doubles with trailing zeros (i.e 1 instead of 1.0)
- adjusted the AC button to do the same and displaying “0” int instead of “0.0” when clearing screen
- adjusted the decimal/period button to start with 0. instead of displaying “.” as the first character when no number was entered
- prevented the addition of multiple decimal in a number which leads to crashing the app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant