Fram.write with float variable

I haven't delved into the library code. Library code is a bit beyond me at the moment.