Converted the badge payload to number