package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
trace(parseFloat("3.14")); // 3.14
trace(parseFloat("What's up 3.14?")); // NaN
trace(parseFloat("3.14 has a posse")); // 3.14
}
}
}