Send float to another Arduino by i2c

Hello, I would like to send and receive a float to another arduino using i2c, I have read some things but I did not find a codigo that would help me.

If you can send four bytes, you can send a float. Simply use a union to make the two variables share the same memory addresses.