unit and rep lines are first cast to floats to deal with legacy toelis f...

...iles that save these fields as floats