converting coords to float