Have the XPC number types be assignable.
XPCDouble isn't an integer.
Use proper variables.
Add comparison to the number types.