I have the following code:
newCode = "9780802412720"
val character = newCode[0]
val charInt = character.toInt()
What I'm expecting is that chatInt == 9, but what's happening is that charInt == 57 instead. Why?
Here's a screenshot from Android Studio while debugging. Where is that 57 coming from?
