factored out gripper float converter