Changed values to floats and returned the original C-types in reading