Fixed Decoding the number

Should work