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.

Implementation edit is for fixing errors and enhancing with metadata.

Instead of changing the code of the snippet, consider creating another Fortran implementation.

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)
f := StrToFloat(s);
let f = s.parse::<f32>().unwrap();
read s :: Double
import std.conv;
float f =!float;
f = num.parse(s);
uses sysutils;
f := s.ToExtended;
$f = floatval($s);
let f = +s
f = float(s)
String floatString = "14.5";
float x = Float.parseFloat(floatString);
double y = Double.parseFloat(floatString);
my $f = $s;
var f=float.Parse(s);
float f = std::stof(s);
(Float/parseFloat s)
(read-string s)
let f: f32 = s.parse().unwrap();