automatic conversion from vector to float and integer