Fixed it

I had an issue converting the strings to numbers. I ended up fixing it.
This should include the logical operator and ternary operator.