- duh I can just use tonumber. I thought I tried it and it didn't work, but I guess I was just being dumb. Oh well, at least the library is up to date.