Sending float over serial

I do not know what is the problem. But when I am doing software serial, the values are not correct. When I do RX TX pins of ESP-01, I get correct values.