what's the t for? can't you just have stringToNumber return 2 values?
or even add it up manually