Decoding a float value in a payload function