convert number to float