Split calculation string into parts
You can get the value for ASCII_POS_OF_0 easily by using '0'. 

Your code doesn't deal with malformed strings well.

If the string is only "123" it will attempt to read beyond the contents of the string. You can fix this by checking for '\0' at the correct places.

It also doesn't handle any type of whitespace in the string at all.