So while making some checks for my game, I noticed an interesting discovery with string.find. I’m running string.find and its returning 1 1 instead of nil. This is the code:
string.find(amount, ".")
Is there an alternate way to check if the number contains a decimal? (not using math.floor in this case, trying to learn);