Implementation
Pascal

Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
import "strconv"
f, err := strconv.ParseFloat(s, 64)
f = s.to_f
import locale
s = u'545,2222'
locale.setlocale(locale.LC_ALL, 'de')
f = locale.atof(s)
f = float(s)
sysutils
f := StrToFloat(s);
let f = s.parse::<f32>().unwrap();
read s :: Double
import std.conv;
float f = s.to!float;
f = num.parse(s);
$f = floatval($s);
let f = +s
float("1.3")
String floatString = "14.5";
float x = Float.parseFloat(floatString);
double y = Double.parseFloat(floatString);
my $f = $s;
read(s,'(g0)')f
read (unit=s,fmt=*) f
var f=float.Parse(s);
float fl = std::stof("1.5");