convert string to float for bitstamp API