現在文字列に含まれているデータの緯度と経度を取得したいと思います。これを使用するには、floatに変換する必要があるため、float-numbersの代わりにここで使用できます。
//Create a region
mapview.mapType = MKMapTypeSatellite;
MKCoordinateRegion newRegion;
newRegion.center.latitude = 47.808435,
newRegion.center.longitude = 9.643743;
newRegion.span.latitudeDelta = 0.00472;
newRegion.span.longitudeDelta = 0.006899;
CLLocationCoordinate2D coordinate;
coordinate.latitude = 47.808435;
coordinate.longitude = 9.643743;
文字列をデータに変換する方法は知っていますが、floatに変換する方法がわかりません。誰か知っていますか?