float , double switch option