Thanks much for the help, both of you :). I thought there might be a very simple way to do this, since it's so intuitive to change '4' to 4. I've basically just been subtracting 48 from everything, but I suppose aesthetically it's a bit nicer to convert from string instead.