changes quantity from float to string