float type format

Why aren't you using the write method?