I build a calculator in unity, but it can't calculate 2 digit numbers

,

As mentioned above, please edit post to use code tags.
** Using code tags properly **

Also, I suggest you use Debug.Log, to track errors down.

Another option is, to use Visual Studio Debugging Breakpoints.