• I can see the problem, you have an extra single before the cast and before the final + sign.

    Look at what I had posted earlier.