There are 240 (12 x 20) pence in a pound, so:

5 pounds = 5 x 240 = 1200
2 shillings = 2 x 12 = 24
8 pence = 8 x 1 = 8

Sum: 1232 pence, 12.32 pounds

I can't explain the other answers but...