I want to use transform but I can't do it recursively.. (act ually, I think I know a way with jQuery - trying now)
Hey guys! Working on the calculator zipline right now. Curious... What I have done is create a "string", (for example "2+2"), and when the equals sign is pressed I want that "string" evaluated. (So "2+2" then the equals button is pressed, so it should read out 4). Is it possible to "evaluate" a string, given the obvious NaN error if it isn't parsed correctly, (I will worry about error-checking later) so that it will read that way? Right now I've tried tempVal = "2+2" then calculatedVal = parseInt(tempVal) and then read calculatedVal which currently comes back as "2"... so apparently I'm doing something wrong. Thanks!