Strange float behaviour on Arduino Mega

Thank you all. It seems that I can not use textual representation of floats for exact data exchange between C++ and Arduino. Maybe I'll just convert (byte-copy) them to 4-byte integers which can be converted to text without rounding problems.