Some information on the fault code is attached. As Mickey said, make sure that the destination of all your math instructions are a LONG data type (not INT), and follow the advice from the manual below if necessary.
Also be aware that the "multiply by 10000" trick will only work if your first value always has 4 digits. If you had 123 and 456, you'd get 1230456, not 123456. If different digit counts are a possibility, you might have to do some trickery with dividing by 10 until you get a number less than 10, see how many divides you have to do, and then multiply by [10 times that number].