View Single Post
  #2  
Old 10-17-2013, 05:15 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,465
Try encoding to ascii before converting to float:
Code:
asciidata=s[0].encode("ascii","ignore")
number = float(asciidata)
Reply With Quote