Pilotscript math

Out of curiosity:

In Pilotscript, why is :

2X * 1 = 2, and

X2 * 1 = 0

I'm assuming this has to do with data typing...