add write converstion from int to float8